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_L.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_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.306/1.306, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009398/0.0009398, allocations: 168.1 kB / 325.8 MB, free: 2.695 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.294/1.294, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006923/0.0006924, allocations: 89.23 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 8.75 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004689/0.1522, allocations: 5.746 MB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.1555, allocations: 3.231 MB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.1558, allocations: 27.81 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.1575, allocations: 0.8817 MB / 0.9059 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.1581, allocations: 438 kB / 0.9063 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.1589, allocations: 441.3 kB / 0.9067 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000827/0.1597, allocations: 1.455 MB / 0.9081 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/0.1604, allocations: 0.6208 MB / 0.9087 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.1607, allocations: 362.3 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.1611, allocations: 454.2 kB / 0.9095 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.1611, allocations: 32 kB / 0.9095 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000623/0.1618, allocations: 0.573 MB / 0.9101 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1619, allocations: 251.3 kB / 0.9103 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.1622, allocations: 357.9 kB / 0.9107 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.1629, allocations: 1.164 MB / 0.9118 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1629, allocations: 0 / 0.9118 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1629, allocations: 0 / 0.9118 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.1629, allocations: 0 / 0.9118 GB, free: 52.02 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009995/0.1639, allocations: 0.9155 MB / 0.9127 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.164, allocations: 12.03 kB / 0.9127 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.762e-05/0.1641, allocations: 114.7 kB / 0.9128 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.1654, allocations: 215.7 kB / 0.913 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.166, allocations: 0.5337 MB / 0.9136 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.166, allocations: 41.69 kB / 0.9136 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.1661, allocations: 72.27 kB / 0.9137 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.1671, allocations: 1.037 MB / 0.9147 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.1671, allocations: 3.938 kB / 0.9147 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.1672, allocations: 28 kB / 0.9147 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.1672, allocations: 69.27 kB / 0.9148 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007945/0.168, allocations: 0.6918 MB / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.1712, allocations: 5.752 MB / 0.9211 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.1718, allocations: 0.5989 MB / 0.9217 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006384/0.1725, allocations: 420.5 kB / 0.9221 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.1725, allocations: 4.688 kB / 0.9221 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.1725, allocations: 38.56 kB / 0.9221 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 1.834e-06/0.1725, allocations: 4 kB / 0.9221 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003621/0.1761, allocations: 2.068 MB / 0.9241 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.1762, allocations: 59.34 kB / 0.9242 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.1766, allocations: 450.8 kB / 0.9246 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1766, allocations: 33.7 kB / 0.9246 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1768, allocations: 387 kB / 0.925 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.1768, allocations: 145.9 kB / 0.9251 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.1769, allocations: 61.62 kB / 0.9252 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.177, allocations: 362.8 kB / 0.9255 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.1773, allocations: 245.2 kB / 0.9258 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.1776, allocations: 465 kB / 0.9262 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.1783, allocations: 0.7478 MB / 0.927 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1783, allocations: 4 kB / 0.927 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001499/0.1798, allocations: 1.065 MB / 0.928 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1798, allocations: 8 kB / 0.928 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1798, allocations: 8.875 kB / 0.928 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009191/0.1807, allocations: 331.1 kB / 0.9283 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.181, allocations: 95.81 kB / 0.9284 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/0.1857, allocations: 6.951 MB / 0.9352 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.186, allocations: 36.02 kB / 0.9352 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.1861, allocations: 24 kB / 0.9353 GB, free: 26.4 MB / 0.6042 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002388/0.1863, allocations: 249.8 kB / 0.9355 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.1864, allocations: 63.19 kB / 0.9356 GB, free: 26.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.1878, allocations: 0.9117 MB / 0.9365 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1878, allocations: 4 kB / 0.9365 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1878, allocations: 4 kB / 0.9365 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1879, allocations: 3.984 kB / 0.9365 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.1899, allocations: 1.712 MB / 0.9381 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1899, allocations: 0 / 0.9381 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1901, allocations: 47.84 kB / 0.9382 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008235/0.1909, allocations: 327.3 kB / 0.9385 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.1909, allocations: 8 kB / 0.9385 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004458/0.1954, allocations: 6.943 MB / 0.9453 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1954, allocations: 4 kB / 0.9453 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.1967, allocations: 1.007 MB / 0.9463 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.1969, allocations: 180.3 kB / 0.9464 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.197, allocations: 16.28 kB / 0.9465 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1973, allocations: 15.98 kB / 0.9465 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/0.1973, allocations: 47.81 kB / 0.9465 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.1974, allocations: 15.94 kB / 0.9465 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002382/0.1976, allocations: 306.9 kB / 0.9468 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1976, allocations: 0 / 0.9468 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006225/0.1983, allocations: 196 kB / 0.947 GB, free: 13.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001458/0.1997, allocations: 1.552 MB / 0.9485 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.2011, allocations: 1.211 MB / 0.9497 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2011, allocations: 4 kB / 0.9497 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008918/0.202, allocations: 0.8659 MB / 0.9506 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.2029, allocations: 186.8 kB / 0.9507 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.209, allocations: 6.237 MB / 0.9568 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2093, allocations: 0.9843 MB / 0.9578 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002552/0.2096, allocations: 97.17 kB / 0.9579 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.2098, allocations: 227.3 kB / 0.9581 GB, free: 1.77 MB / 0.6042 GB Notification: Performance of SimCode: time 5.92e-07/0.2098, allocations: 4 kB / 0.9581 GB, free: 1.766 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.349/0.5588, allocations: 14.44 MB / 0.9722 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.559, allocations: 249.1 kB / 0.9724 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.884, allocations: 0 / 0.9724 GB, free: 3.32 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)