Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 1.381/1.381, allocations: 287.4 MB / 302.6 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 178.7 kB / 371.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.069/1.069, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006563/0.0006563, allocations: 87.45 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003017, allocations: 12.77 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00387/0.1416, allocations: 5.37 MB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.1443, allocations: 3.015 MB / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1445, allocations: 23.81 kB / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1447, allocations: 119 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.1452, allocations: 374 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.1457, allocations: 366.4 kB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.1464, allocations: 1.221 MB / 0.989 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.1474, allocations: 0.965 MB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.1477, allocations: 362.5 kB / 0.9903 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.148, allocations: 434.4 kB / 0.9907 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.1481, allocations: 32 kB / 0.9907 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.1484, allocations: 251.6 kB / 0.9909 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1485, allocations: 251.3 kB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.1486, allocations: 161.3 kB / 0.9913 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.1491, allocations: 0.8808 MB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1491, allocations: 0 / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1491, allocations: 0 / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.1491, allocations: 0 / 0.9922 GB, free: 14.24 MB / 0.6198 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.0008591/0.15, allocations: 0.9136 MB / 0.9931 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.533e-05/0.15, allocations: 8.031 kB / 0.9931 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.1501, allocations: 118.7 kB / 0.9932 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.1512, allocations: 219.7 kB / 0.9934 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.1517, allocations: 0.5297 MB / 0.9939 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1518, allocations: 49.67 kB / 0.994 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.1518, allocations: 64.36 kB / 0.994 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009085/0.1527, allocations: 1.03 MB / 0.995 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1528, allocations: 11.84 kB / 0.9951 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.1528, allocations: 31.98 kB / 0.9951 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/0.1529, allocations: 65.27 kB / 0.9952 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.1536, allocations: 0.6957 MB / 0.9958 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.1564, allocations: 5.76 MB / 1.001 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.157, allocations: 0.5995 MB / 1.002 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.1575, allocations: 414.1 kB / 1.002 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1576, allocations: 4 kB / 1.002 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.1576, allocations: 46.5 kB / 1.002 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.453e-06/0.1576, allocations: 0 / 1.002 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.003137/0.1607, allocations: 2.053 MB / 1.004 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.556e-05/0.1608, allocations: 55.41 kB / 1.005 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.161, allocations: 466.6 kB / 1.005 GB, free: 344 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1611, allocations: 29.7 kB / 1.005 GB, free: 308 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1612, allocations: 387.3 kB / 1.005 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/0.1613, allocations: 153.8 kB / 1.006 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.1614, allocations: 8 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1615, allocations: 362.8 kB / 1.006 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.1618, allocations: 245.2 kB / 1.006 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.1622, allocations: 468.9 kB / 1.007 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.1629, allocations: 0.7517 MB / 1.007 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1629, allocations: 4 kB / 1.007 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001547/0.1645, allocations: 1.054 MB / 1.008 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1645, allocations: 8 kB / 1.008 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1645, allocations: 12.03 kB / 1.008 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000873/0.1654, allocations: 327.1 kB / 1.009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.1657, allocations: 99.81 kB / 1.009 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/0.1711, allocations: 6.943 MB / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.1714, allocations: 36.11 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.1714, allocations: 27.94 kB / 1.016 GB, free: 4.68 MB / 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 (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.1717, allocations: 245.5 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.1717, allocations: 55.34 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.1732, allocations: 0.9155 MB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1732, allocations: 4 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1732, allocations: 4.188 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1732, allocations: 0 / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.1754, allocations: 1.716 MB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1754, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1755, allocations: 47.91 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008067/0.1763, allocations: 315.3 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1764, allocations: 12 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005333/0.1817, allocations: 6.927 MB / 1.026 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1817, allocations: 0 / 1.026 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.1831, allocations: 1.019 MB / 1.027 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.1833, allocations: 172.4 kB / 1.027 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.1834, allocations: 8 kB / 1.027 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1836, allocations: 23.91 kB / 1.027 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.1837, allocations: 51.81 kB / 1.027 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.1837, allocations: 12 kB / 1.027 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002462/0.184, allocations: 298.9 kB / 1.027 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.184, allocations: 0 / 1.027 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005286/0.1845, allocations: 200 kB / 1.027 GB, free: 7.953 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/0.1861, allocations: 1.544 MB / 1.029 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.1875, allocations: 1.206 MB / 1.03 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1875, allocations: 3.938 kB / 1.03 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/0.1885, allocations: 0.862 MB / 1.031 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.1894, allocations: 175.2 kB / 1.031 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.194, allocations: 4.002 MB / 1.035 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.1944, allocations: 0.9843 MB / 1.036 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.1947, allocations: 101.2 kB / 1.036 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.1949, allocations: 223.4 kB / 1.036 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.1949, allocations: 0 / 1.036 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3729/0.5678, allocations: 14.46 MB / 1.05 GB, free: 320 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.568, allocations: 211.8 kB / 1.051 GB, free: 76 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.687, allocations: 0 / 1.051 GB, free: 76 kB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)