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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.375/1.375, allocations: 252 MB / 267 MB, free: 10.96 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.00097/0.00097, allocations: 177.7 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0007195/0.0007197, allocations: 82.34 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 10.56 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1695, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003372/0.1729, allocations: 3.842 MB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.1764, allocations: 3.03 MB / 0.907 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.1767, allocations: 11.94 kB / 0.907 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.1771, allocations: 155 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006584/0.1778, allocations: 310.5 kB / 0.9075 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.1782, allocations: 171.6 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004872/0.1787, allocations: 0.6541 MB / 0.9083 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008738/0.1796, allocations: 0.7331 MB / 0.909 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1798, allocations: 191.2 kB / 0.9092 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1801, allocations: 235.1 kB / 0.9094 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.1801, allocations: 16 kB / 0.9094 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.1806, allocations: 231.7 kB / 0.9096 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.1807, allocations: 139.5 kB / 0.9098 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.1807, allocations: 101.5 kB / 0.9099 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.1812, allocations: 0.6743 MB / 0.9105 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1813, allocations: 0 / 0.9105 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1813, allocations: 0 / 0.9105 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.1813, allocations: 0 / 0.9105 GB, free: 53.3 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001001/0.1823, allocations: 0.7167 MB / 0.9112 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1823, allocations: 12.03 kB / 0.9112 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.027e-05/0.1824, allocations: 70.53 kB / 0.9113 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/0.185, allocations: 0.6897 MB / 0.912 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.1857, allocations: 478.6 kB / 0.9124 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1857, allocations: 24.64 kB / 0.9125 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.1858, allocations: 28 kB / 0.9125 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1871, allocations: 0.7942 MB / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1872, allocations: 3.938 kB / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.1872, allocations: 12 kB / 0.9133 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.1873, allocations: 52.59 kB / 0.9133 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.1891, allocations: 0.8765 MB / 0.9142 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.1925, allocations: 2.862 MB / 0.917 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.1939, allocations: 0.516 MB / 0.9175 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.1946, allocations: 268.5 kB / 0.9177 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.174e-05/0.1947, allocations: 85.11 kB / 0.9178 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1947, allocations: 42.48 kB / 0.9179 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.1947, allocations: 4 kB / 0.9179 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.01064/0.2054, allocations: 3.209 MB / 0.921 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2054, allocations: 77.11 kB / 0.9211 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.2058, allocations: 413.6 kB / 0.9215 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.2059, allocations: 33.7 kB / 0.9215 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.206, allocations: 243.7 kB / 0.9217 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.2061, allocations: 86.8 kB / 0.9218 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.2061, allocations: 4 kB / 0.9218 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.2062, allocations: 346.8 kB / 0.9221 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007958/0.207, allocations: 367.5 kB / 0.9225 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007957/0.2078, allocations: 445.3 kB / 0.9229 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008086/0.2086, allocations: 385.6 kB / 0.9233 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2086, allocations: 0 / 0.9233 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004721/0.2133, allocations: 1.548 MB / 0.9248 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.2134, allocations: 144 kB / 0.9249 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2135, allocations: 4 kB / 0.9249 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003847/0.2173, allocations: 0.8559 MB / 0.9258 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.218, allocations: 131.7 kB / 0.9259 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.2238, allocations: 4.664 MB / 0.9305 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.2247, allocations: 119.9 kB / 0.9306 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.2247, allocations: 15.98 kB / 0.9306 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.2247, allocations: 4 kB / 0.9306 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003831/0.2286, allocations: 1.261 MB / 0.9318 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2286, allocations: 0 / 0.9318 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002429/0.231, allocations: 0.551 MB / 0.9324 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.2316, allocations: 155.8 kB / 0.9325 GB, free: 29.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.2346, allocations: 2.498 MB / 0.935 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.2353, allocations: 111.9 kB / 0.9351 GB, free: 27.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.2354, allocations: 15.98 kB / 0.9351 GB, free: 27.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002955/0.2357, allocations: 324.9 kB / 0.9354 GB, free: 26.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.2358, allocations: 43.47 kB / 0.9354 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.2403, allocations: 1.416 MB / 0.9368 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2403, allocations: 7.938 kB / 0.9368 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2403, allocations: 3.984 kB / 0.9368 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2403, allocations: 0 / 0.9368 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004864/0.2452, allocations: 2.09 MB / 0.9389 GB, free: 23.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.2452, allocations: 0 / 0.9389 GB, free: 23.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.2456, allocations: 83.84 kB / 0.9389 GB, free: 23.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/0.2489, allocations: 0.7897 MB / 0.9397 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.249, allocations: 8 kB / 0.9397 GB, free: 22.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/0.2537, allocations: 4.485 MB / 0.9441 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2537, allocations: 7.891 kB / 0.9441 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/0.2578, allocations: 1.441 MB / 0.9455 GB, free: 16.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.258, allocations: 172.6 kB / 0.9457 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/0.258, allocations: 8 kB / 0.9457 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.2586, allocations: 99.84 kB / 0.9458 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.2587, allocations: 27.92 kB / 0.9458 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.2588, allocations: 11.98 kB / 0.9458 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000301/0.2591, allocations: 307.1 kB / 0.9461 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2591, allocations: 0 / 0.9461 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007872/0.2599, allocations: 204 kB / 0.9463 GB, free: 15.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004358/0.2642, allocations: 1.996 MB / 0.9483 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003107/0.2674, allocations: 1.629 MB / 0.9498 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2674, allocations: 0 / 0.9498 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.2685, allocations: 0.6642 MB / 0.9505 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.2692, allocations: 133.3 kB / 0.9506 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008272/0.2775, allocations: 4.236 MB / 0.9548 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.2778, allocations: 0.9133 MB / 0.9556 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005147/0.2784, allocations: 151.2 kB / 0.9558 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.2786, allocations: 143.4 kB / 0.9559 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.2786, allocations: 0 / 0.9559 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3049, allocations: 15.89 MB / 0.9714 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.3051, allocations: 240.9 kB / 0.9717 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/2.578, allocations: 4 kB / 0.9717 GB, free: 5.312 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)