Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 171.9 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.578 GB, free: 20.08 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009308/0.0009309, allocations: 93.8 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0004001, allocations: 9.594 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.23, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01086/0.2409, allocations: 10.28 MB / 0.911 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.2544, allocations: 8.755 MB / 0.9195 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.2571, allocations: 55.62 kB / 0.9196 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.2587, allocations: 269.8 kB / 0.9198 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.2643, allocations: 1.398 MB / 0.9212 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.2662, allocations: 0.6202 MB / 0.9218 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.2694, allocations: 2.906 MB / 0.9246 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/0.2723, allocations: 1.945 MB / 0.9265 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.2738, allocations: 0.8323 MB / 0.9274 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.2749, allocations: 0.9413 MB / 0.9283 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.2751, allocations: 60 kB / 0.9283 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.2767, allocations: 0.8811 MB / 0.9292 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.2771, allocations: 494.3 kB / 0.9297 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007749/0.2779, allocations: 0.798 MB / 0.9304 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.2803, allocations: 2.491 MB / 0.9329 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.2803, allocations: 0 / 0.9329 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2803, allocations: 0 / 0.9329 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.165e-05/0.2804, allocations: 0 / 0.9329 GB, free: 30.36 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002624/0.283, allocations: 1.706 MB / 0.9345 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.2831, allocations: 12.03 kB / 0.9346 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.2833, allocations: 190.1 kB / 0.9347 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.2936, allocations: 2.113 MB / 0.9368 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.2959, allocations: 1.122 MB / 0.9379 GB, free: 25.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.296, allocations: 90.62 kB / 0.938 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.2962, allocations: 119.9 kB / 0.9381 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005022/0.3012, allocations: 2.498 MB / 0.9405 GB, free: 22.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.3013, allocations: 11.84 kB / 0.9405 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.3015, allocations: 55.98 kB / 0.9406 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003119/0.3018, allocations: 130.1 kB / 0.9407 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006468/0.3083, allocations: 2.592 MB / 0.9433 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.3214, allocations: 10.12 MB / 0.9531 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005849/0.3273, allocations: 1.995 MB / 0.9551 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/0.3299, allocations: 0.9949 MB / 0.9561 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.33, allocations: 12.44 kB / 0.9561 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.3301, allocations: 35 kB / 0.9561 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 4.458e-06/0.3301, allocations: 0 / 0.9561 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.03074/0.3608, allocations: 8.789 MB / 0.9647 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.361, allocations: 68 kB / 0.9647 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.363, allocations: 1.101 MB / 0.9658 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.3631, allocations: 37.7 kB / 0.9659 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008449/0.364, allocations: 0.7379 MB / 0.9666 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.3643, allocations: 279.9 kB / 0.9668 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3645, allocations: 20 kB / 0.9669 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002394/0.3647, allocations: 345.9 kB / 0.9672 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/0.3682, allocations: 1.095 MB / 0.9683 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/0.3714, allocations: 1.325 MB / 0.9696 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006229/0.3777, allocations: 2.417 MB / 0.9719 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3777, allocations: 4 kB / 0.9719 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0097/0.3874, allocations: 3.319 MB / 0.9752 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3875, allocations: 11.98 kB / 0.9752 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.3875, allocations: 4 kB / 0.9752 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/0.3907, allocations: 0.7836 MB / 0.9759 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.3929, allocations: 431.3 kB / 0.9764 GB, free: 480 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/0.4106, allocations: 14.7 MB / 0.9907 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/0.4134, allocations: 307.6 kB / 0.991 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.4137, allocations: 51.97 kB / 0.9911 GB, free: 360 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00101/0.4147, allocations: 403.2 kB / 0.9914 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.415, allocations: 142.3 kB / 0.9916 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/0.424, allocations: 3.245 MB / 0.9947 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4241, allocations: 8 kB / 0.9947 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.4241, allocations: 8 kB / 0.9948 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4241, allocations: 7.984 kB / 0.9948 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.4364, allocations: 4.951 MB / 0.9996 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.4365, allocations: 4 kB / 0.9996 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.4384, allocations: 367.7 kB / 1 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/0.4411, allocations: 0.6857 MB / 1.001 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.4413, allocations: 31.97 kB / 1.001 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/0.4582, allocations: 14.33 MB / 1.015 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.4583, allocations: 7.984 kB / 1.015 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008734/0.467, allocations: 3.081 MB / 1.018 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.4681, allocations: 391.1 kB / 1.018 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.4683, allocations: 20 kB / 1.018 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/0.4702, allocations: 299.5 kB / 1.018 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003879/0.4706, allocations: 84.42 kB / 1.018 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.4707, allocations: 39.97 kB / 1.018 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001195/0.4719, allocations: 0.7443 MB / 1.019 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4719, allocations: 0 / 1.019 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00171/0.4737, allocations: 432 kB / 1.02 GB, free: 1.742 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008738/0.4824, allocations: 3.659 MB / 1.023 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009056/0.4915, allocations: 3.652 MB / 1.027 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.4916, allocations: 8.125 kB / 1.027 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005012/0.4966, allocations: 2.387 MB / 1.029 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.4994, allocations: 486.2 kB / 1.03 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/0.5368, allocations: 17.26 MB / 1.046 GB, free: 5.348 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.5379, allocations: 1.388 MB / 1.048 GB, free: 3.926 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001711/0.5397, allocations: 383.8 kB / 1.048 GB, free: 3.547 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008434/0.5405, allocations: 0.6008 MB / 1.049 GB, free: 2.945 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/0.5405, allocations: 0 / 1.049 GB, free: 2.945 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4576/0.9981, allocations: 39.54 MB / 1.087 GB, free: 126.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.9983, allocations: 242.7 kB / 1.088 GB, free: 126.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/4.273, allocations: 0 / 1.088 GB, free: 126.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)