Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008767, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005881/0.005881, allocations: 170.2 kB / 16.27 MB, free: 6.648 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.292/1.292, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 270.4 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004013, allocations: 16.78 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1396, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005883/0.1455, allocations: 5.663 MB / 0.6908 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004344/0.1498, allocations: 3.115 MB / 0.6938 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.1502, allocations: 31.75 kB / 0.6938 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1505, allocations: 115 kB / 0.6939 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008427/0.1513, allocations: 442.3 kB / 0.6944 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.1522, allocations: 445.2 kB / 0.6948 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.1534, allocations: 1.455 MB / 0.6962 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.155, allocations: 0.9903 MB / 0.6972 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.1554, allocations: 358.3 kB / 0.6975 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.1559, allocations: 450.2 kB / 0.698 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.156, allocations: 32 kB / 0.698 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007917/0.1568, allocations: 0.5769 MB / 0.6985 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.157, allocations: 255.2 kB / 0.6988 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.1573, allocations: 375.7 kB / 0.6992 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1583, allocations: 1.164 MB / 0.7003 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1583, allocations: 0 / 0.7003 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1583, allocations: 0 / 0.7003 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.1583, allocations: 0 / 0.7003 GB, free: 15.53 MB / 0.4981 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.001222/0.1596, allocations: 0.9117 MB / 0.7012 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1596, allocations: 8.031 kB / 0.7012 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.1597, allocations: 118.7 kB / 0.7013 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1612, allocations: 215.7 kB / 0.7015 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.1619, allocations: 0.5337 MB / 0.702 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.1619, allocations: 49.62 kB / 0.7021 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.162, allocations: 68.34 kB / 0.7021 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.1633, allocations: 1.034 MB / 0.7031 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.1634, allocations: 7.938 kB / 0.7032 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.1634, allocations: 24 kB / 0.7032 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.48e-05/0.1635, allocations: 73.27 kB / 0.7032 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009588/0.1645, allocations: 0.6918 MB / 0.7039 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.1688, allocations: 5.772 MB / 0.7096 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.1696, allocations: 0.5969 MB / 0.7101 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.1704, allocations: 420.6 kB / 0.7105 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.1704, allocations: 4 kB / 0.7105 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1705, allocations: 34.56 kB / 0.7106 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/0.1705, allocations: 8 kB / 0.7106 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004206/0.1747, allocations: 2.057 MB / 0.7126 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1747, allocations: 55.41 kB / 0.7126 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.1752, allocations: 458.7 kB / 0.7131 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1752, allocations: 29.7 kB / 0.7131 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.1754, allocations: 395 kB / 0.7135 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1755, allocations: 153.8 kB / 0.7136 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.1756, allocations: 53.69 kB / 0.7137 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1757, allocations: 362.8 kB / 0.714 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.1761, allocations: 245.2 kB / 0.7143 GB, free: 388 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.1765, allocations: 457 kB / 0.7147 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.1774, allocations: 0.7597 MB / 0.7154 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1774, allocations: 4 kB / 0.7155 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001775/0.1792, allocations: 1.054 MB / 0.7165 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1792, allocations: 13.86 kB / 0.7165 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1792, allocations: 8.875 kB / 0.7165 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/0.1802, allocations: 335.1 kB / 0.7168 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1805, allocations: 91.83 kB / 0.7169 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.1866, allocations: 6.95 MB / 0.7237 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.1871, allocations: 28.03 kB / 0.7237 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.1871, allocations: 31.98 kB / 0.7238 GB, free: 5.906 MB / 0.5137 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.0003114/0.1875, allocations: 243.5 kB / 0.724 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.1875, allocations: 63.28 kB / 0.724 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.1892, allocations: 0.9158 MB / 0.7249 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1892, allocations: 7.984 kB / 0.7249 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1892, allocations: 4.188 kB / 0.725 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1892, allocations: 4 kB / 0.725 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.1917, allocations: 1.708 MB / 0.7266 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1917, allocations: 0 / 0.7266 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1919, allocations: 47.84 kB / 0.7267 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009038/0.1928, allocations: 323.3 kB / 0.727 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1928, allocations: 8 kB / 0.727 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005913/0.1987, allocations: 6.946 MB / 0.7338 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1988, allocations: 0 / 0.7338 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.2003, allocations: 1.023 MB / 0.7348 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.2006, allocations: 180.3 kB / 0.7349 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.2006, allocations: 12 kB / 0.735 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.2009, allocations: 19.97 kB / 0.735 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.201, allocations: 39.83 kB / 0.735 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.2011, allocations: 16 kB / 0.735 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002954/0.2014, allocations: 310.8 kB / 0.7353 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2014, allocations: 0 / 0.7353 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007128/0.2021, allocations: 200 kB / 0.7355 GB, free: 9.141 MB / 0.5294 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.001748/0.2038, allocations: 1.553 MB / 0.737 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.2055, allocations: 1.199 MB / 0.7382 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2055, allocations: 0 / 0.7382 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.2067, allocations: 0.8736 MB / 0.7391 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.2077, allocations: 186.8 kB / 0.7392 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/0.2152, allocations: 6.255 MB / 0.7453 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.2158, allocations: 0.9881 MB / 0.7463 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.2161, allocations: 101.2 kB / 0.7464 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.2163, allocations: 223.4 kB / 0.7466 GB, free: 13.26 MB / 0.545 GB Notification: Performance of SimCode: time 2.044e-06/0.2163, allocations: 4 kB / 0.7466 GB, free: 13.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.2432, allocations: 14.46 MB / 0.7607 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.2435, allocations: 238.6 kB / 0.761 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.135, allocations: 0 / 0.761 GB, free: 14.84 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)