Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 99.36 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 193.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 290.9 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 97.17 kB / 0.5948 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1351, allocations: 86.98 MB / 0.6797 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01139/0.1465, allocations: 10.85 MB / 0.6903 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.1579, allocations: 8.696 MB / 0.6988 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.1589, allocations: 55.62 kB / 0.6989 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003906/0.1629, allocations: 1.576 MB / 0.7004 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.1665, allocations: 1.4 MB / 0.7018 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1681, allocations: 0.6153 MB / 0.7024 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002633/0.1707, allocations: 2.286 MB / 0.7046 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.1726, allocations: 1.555 MB / 0.7061 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.174, allocations: 0.9924 MB / 0.7071 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.1751, allocations: 1.055 MB / 0.7081 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.1753, allocations: 143.9 kB / 0.7083 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.1765, allocations: 0.7955 MB / 0.7091 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.177, allocations: 0.5686 MB / 0.7096 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007306/0.1777, allocations: 0.8823 MB / 0.7105 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.18, allocations: 2.593 MB / 0.713 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.18, allocations: 4 kB / 0.713 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.18, allocations: 0 / 0.713 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.1801, allocations: 0 / 0.713 GB, free: 14.74 MB / 0.5137 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.002925/0.183, allocations: 2.018 MB / 0.715 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.183, allocations: 11.97 kB / 0.715 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002113/0.1833, allocations: 190.1 kB / 0.7152 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.1938, allocations: 2.05 MB / 0.7172 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.1955, allocations: 1.119 MB / 0.7183 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.1956, allocations: 90.69 kB / 0.7184 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.1958, allocations: 123.9 kB / 0.7185 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.2007, allocations: 2.479 MB / 0.7209 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.2008, allocations: 15.84 kB / 0.7209 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.2009, allocations: 47.98 kB / 0.721 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003262/0.2012, allocations: 130.1 kB / 0.7211 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006628/0.2079, allocations: 2.545 MB / 0.7236 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.2196, allocations: 10.07 MB / 0.7334 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005702/0.2253, allocations: 1.957 MB / 0.7353 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/0.2279, allocations: 0.9712 MB / 0.7363 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.2279, allocations: 4.438 kB / 0.7363 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.228, allocations: 43 kB / 0.7363 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.093e-06/0.228, allocations: 0 / 0.7363 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.02906/0.257, allocations: 8.71 MB / 0.7448 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2571, allocations: 64 kB / 0.7449 GB, free: 13.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.2583, allocations: 1.101 MB / 0.7459 GB, free: 11.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.2585, allocations: 41.7 kB / 0.746 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.2589, allocations: 0.7302 MB / 0.7467 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.2592, allocations: 275.9 kB / 0.747 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.2596, allocations: 210.4 kB / 0.7472 GB, free: 10.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2597, allocations: 341.9 kB / 0.7475 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/0.2624, allocations: 1.079 MB / 0.7485 GB, free: 9.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/0.2653, allocations: 1.309 MB / 0.7498 GB, free: 7.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00557/0.2709, allocations: 2.378 MB / 0.7521 GB, free: 5.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2709, allocations: 8 kB / 0.7521 GB, free: 5.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008213/0.2791, allocations: 3.273 MB / 0.7553 GB, free: 2.051 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2792, allocations: 10.19 kB / 0.7554 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2792, allocations: 12.03 kB / 0.7554 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.2819, allocations: 0.791 MB / 0.7561 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.2837, allocations: 419.3 kB / 0.7565 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2665/0.5502, allocations: 15.93 MB / 0.7721 GB, free: 87.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.5525, allocations: 288.9 kB / 0.7724 GB, free: 87.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.5527, allocations: 54.22 kB / 0.7724 GB, free: 87.66 MB / 0.5606 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.0006701/0.5533, allocations: 397.3 kB / 0.7728 GB, free: 87.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.5536, allocations: 141.8 kB / 0.7729 GB, free: 87.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008541/0.5622, allocations: 3.206 MB / 0.7761 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5622, allocations: 7.875 kB / 0.7761 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.5622, allocations: 7.719 kB / 0.7761 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.5622, allocations: 7.578 kB / 0.7761 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.5723, allocations: 4.896 MB / 0.7809 GB, free: 86.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5723, allocations: 5.344 kB / 0.7809 GB, free: 86.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.5738, allocations: 353.5 kB / 0.7812 GB, free: 86.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/0.5761, allocations: 0.7033 MB / 0.7819 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.5762, allocations: 34.3 kB / 0.7819 GB, free: 85.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.5875, allocations: 15.54 MB / 0.7971 GB, free: 72.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5875, allocations: 9.031 kB / 0.7971 GB, free: 72.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/0.5945, allocations: 3.046 MB / 0.8001 GB, free: 72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.5951, allocations: 382.7 kB / 0.8005 GB, free: 71.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.5953, allocations: 16.41 kB / 0.8005 GB, free: 71.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.5969, allocations: 292.7 kB / 0.8007 GB, free: 71.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.5972, allocations: 83.39 kB / 0.8008 GB, free: 71.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-05/0.5973, allocations: 35.03 kB / 0.8009 GB, free: 71.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007656/0.598, allocations: 0.7403 MB / 0.8016 GB, free: 71.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.598, allocations: 0 / 0.8016 GB, free: 71.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001268/0.5993, allocations: 431.2 kB / 0.802 GB, free: 71.41 MB / 0.5606 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.007658/0.607, allocations: 3.615 MB / 0.8055 GB, free: 69.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007694/0.6147, allocations: 3.763 MB / 0.8092 GB, free: 67.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6147, allocations: 3.719 kB / 0.8092 GB, free: 67.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004211/0.6189, allocations: 2.368 MB / 0.8115 GB, free: 65.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.621, allocations: 0.5328 MB / 0.812 GB, free: 65.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/0.6497, allocations: 17.12 MB / 0.8288 GB, free: 54.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.6504, allocations: 1.388 MB / 0.8301 GB, free: 52.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001452/0.6518, allocations: 376.1 kB / 0.8305 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/0.6525, allocations: 0.6008 MB / 0.8311 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/0.6525, allocations: 0 / 0.8311 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06164/0.7141, allocations: 41.35 MB / 0.8714 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/0.7143, allocations: 235.5 kB / 0.8717 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.289, allocations: 2 kB / 0.8717 GB, free: 11.01 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)