Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_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.0008587/0.0008587, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009857/0.0009856, allocations: 187.8 kB / 16.92 MB, free: 6.75 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.214/1.214, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.636/0.636, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002867, allocations: 12 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 77.53 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006174/0.1277, allocations: 5.661 MB / 0.5656 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.1319, allocations: 3.118 MB / 0.5686 GB, free: 108 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.1323, allocations: 23.81 kB / 0.5686 GB, free: 84 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1326, allocations: 119 kB / 0.5688 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.1335, allocations: 442 kB / 0.5692 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000891/0.1344, allocations: 446.5 kB / 0.5696 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1356, allocations: 1.459 MB / 0.571 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.1371, allocations: 0.9884 MB / 0.572 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.1375, allocations: 354.4 kB / 0.5723 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.138, allocations: 454.2 kB / 0.5728 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.138, allocations: 32 kB / 0.5728 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007359/0.1388, allocations: 0.5691 MB / 0.5734 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.139, allocations: 251.2 kB / 0.5736 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.1393, allocations: 391.6 kB / 0.574 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1403, allocations: 1.16 MB / 0.5751 GB, free: 9.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1403, allocations: 3.938 kB / 0.5751 GB, free: 9.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1403, allocations: 0 / 0.5751 GB, free: 9.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1404, allocations: 4 kB / 0.5751 GB, free: 9.422 MB / 446.1 MB 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.001202/0.1416, allocations: 0.9038 MB / 0.576 GB, free: 8.465 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1416, allocations: 12.03 kB / 0.576 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.1417, allocations: 114.7 kB / 0.5761 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.1431, allocations: 223.7 kB / 0.5763 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.1438, allocations: 0.5336 MB / 0.5768 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.1438, allocations: 49.67 kB / 0.5769 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-05/0.1439, allocations: 60.38 kB / 0.577 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.1452, allocations: 1.037 MB / 0.578 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.1453, allocations: 11.84 kB / 0.578 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.1453, allocations: 27.98 kB / 0.578 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.999e-05/0.1454, allocations: 69.28 kB / 0.5781 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009603/0.1464, allocations: 0.6918 MB / 0.5787 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2062/0.3526, allocations: 5.753 MB / 0.5844 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.3534, allocations: 0.5995 MB / 0.5849 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007273/0.3542, allocations: 416.8 kB / 0.5853 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.3542, allocations: 5.141 kB / 0.5854 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.3542, allocations: 37.19 kB / 0.5854 GB, free: 27.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.834e-06/0.3542, allocations: 0 / 0.5854 GB, free: 27.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004162/0.3584, allocations: 2.068 MB / 0.5874 GB, free: 26.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.3584, allocations: 55.59 kB / 0.5875 GB, free: 26.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.3589, allocations: 462.8 kB / 0.5879 GB, free: 26.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3589, allocations: 33.33 kB / 0.5879 GB, free: 26.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3591, allocations: 391.4 kB / 0.5883 GB, free: 26.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.3592, allocations: 152.4 kB / 0.5885 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.3592, allocations: 49.81 kB / 0.5885 GB, free: 26.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.3593, allocations: 366.9 kB / 0.5888 GB, free: 26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.3596, allocations: 245.7 kB / 0.5891 GB, free: 25.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.3601, allocations: 459.9 kB / 0.5895 GB, free: 25.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000779/0.3608, allocations: 0.7569 MB / 0.5903 GB, free: 25.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3608, allocations: 1.938 kB / 0.5903 GB, free: 25.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001689/0.3625, allocations: 1.055 MB / 0.5913 GB, free: 24.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3626, allocations: 9.562 kB / 0.5913 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3626, allocations: 10.31 kB / 0.5913 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009721/0.3636, allocations: 333.1 kB / 0.5916 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.3639, allocations: 89.91 kB / 0.5917 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.369, allocations: 6.962 MB / 0.5985 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.3694, allocations: 28.61 kB / 0.5985 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.3694, allocations: 26.67 kB / 0.5986 GB, free: 18.62 MB / 446.1 MB 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.0002526/0.3697, allocations: 239.7 kB / 0.5988 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/0.3698, allocations: 57 kB / 0.5988 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.3714, allocations: 0.9163 MB / 0.5997 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3714, allocations: 8.219 kB / 0.5998 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3714, allocations: 3.875 kB / 0.5998 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3714, allocations: 3.016 kB / 0.5998 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.3739, allocations: 1.71 MB / 0.6014 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3739, allocations: 2.969 kB / 0.6014 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.3741, allocations: 44.61 kB / 0.6015 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000885/0.375, allocations: 329 kB / 0.6018 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.375, allocations: 7.438 kB / 0.6018 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/0.3801, allocations: 6.935 MB / 0.6086 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3802, allocations: 0.9688 kB / 0.6086 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3816, allocations: 1.021 MB / 0.6096 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.3818, allocations: 171.5 kB / 0.6097 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.3819, allocations: 12.84 kB / 0.6097 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.3822, allocations: 24.12 kB / 0.6098 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.3823, allocations: 42.48 kB / 0.6098 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3823, allocations: 9.188 kB / 0.6098 GB, free: 10.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.3826, allocations: 312.2 kB / 0.6101 GB, free: 10.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3826, allocations: 0 / 0.6101 GB, free: 10.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007206/0.3833, allocations: 194.3 kB / 0.6103 GB, free: 10.29 MB / 446.1 MB 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.001599/0.3849, allocations: 1.565 MB / 0.6118 GB, free: 9.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.3865, allocations: 1.206 MB / 0.613 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3865, allocations: 0 / 0.613 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.3875, allocations: 0.8646 MB / 0.6138 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3885, allocations: 189.8 kB / 0.614 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/0.3953, allocations: 6.247 MB / 0.6201 GB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.3957, allocations: 0.9901 MB / 0.6211 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000267/0.3959, allocations: 97.69 kB / 0.6212 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.3961, allocations: 227.8 kB / 0.6214 GB, free: 3 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3961, allocations: 0 / 0.6214 GB, free: 3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2764/0.6726, allocations: 14.44 MB / 0.6355 GB, free: 9.18 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/0.6729, allocations: 225.6 kB / 0.6357 GB, free: 8.926 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.575, allocations: 0 / 0.6357 GB, free: 8.926 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)