Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_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.0007681/0.0007681, allocations: 88.17 kB / 15.7 MB, free: 460 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.00081/0.00081, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.258/1.258, allocations: 223.2 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6419/0.6419, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 8.781 kB / 493.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01015/0.1584, allocations: 9.771 MB / 0.5665 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.1697, allocations: 8.185 MB / 0.5744 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1709, allocations: 51.62 kB / 0.5745 GB, free: 9.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007671/0.1717, allocations: 261.8 kB / 0.5747 GB, free: 9.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.1751, allocations: 1.265 MB / 0.576 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1764, allocations: 471 kB / 0.5764 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.1791, allocations: 2.446 MB / 0.5788 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.1821, allocations: 1.781 MB / 0.5806 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1834, allocations: 0.7935 MB / 0.5813 GB, free: 2.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.1846, allocations: 0.9027 MB / 0.5822 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1848, allocations: 60 kB / 0.5823 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1858, allocations: 459.3 kB / 0.5827 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.1863, allocations: 478.4 kB / 0.5832 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.1866, allocations: 340.8 kB / 0.5835 GB, free: 320 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2621/0.4487, allocations: 1.96 MB / 0.5854 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4488, allocations: 0 / 0.5854 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4488, allocations: 1 kB / 0.5854 GB, free: 12.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.9e-05/0.4488, allocations: 0 / 0.5854 GB, free: 12.82 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00295/0.4518, allocations: 1.727 MB / 0.5871 GB, free: 11.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4518, allocations: 9.188 kB / 0.5871 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.4521, allocations: 191 kB / 0.5873 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.4624, allocations: 2.108 MB / 0.5893 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.465, allocations: 1.08 MB / 0.5904 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4651, allocations: 87.53 kB / 0.5905 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.4654, allocations: 119.4 kB / 0.5906 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005474/0.4709, allocations: 2.491 MB / 0.593 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.4709, allocations: 8.719 kB / 0.593 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.4711, allocations: 55.36 kB / 0.5931 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003401/0.4715, allocations: 127.6 kB / 0.5932 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00659/0.478, allocations: 2.586 MB / 0.5957 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.4904, allocations: 10.12 MB / 0.6056 GB, free: 21.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005042/0.4955, allocations: 1.998 MB / 0.6076 GB, free: 20.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.4978, allocations: 0.9881 MB / 0.6085 GB, free: 20.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.4978, allocations: 10.25 kB / 0.6085 GB, free: 20.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.4979, allocations: 40.66 kB / 0.6086 GB, free: 20.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/0.4979, allocations: 0 / 0.6086 GB, free: 20.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02596/0.5238, allocations: 8.767 MB / 0.6171 GB, free: 17.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.5239, allocations: 63.97 kB / 0.6172 GB, free: 17.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.5252, allocations: 1.083 MB / 0.6183 GB, free: 17.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.99e-05/0.5253, allocations: 40.23 kB / 0.6183 GB, free: 17.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.5257, allocations: 0.7427 MB / 0.619 GB, free: 16.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.5259, allocations: 284.6 kB / 0.6193 GB, free: 16.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.526, allocations: 21.31 kB / 0.6193 GB, free: 16.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5262, allocations: 344.1 kB / 0.6196 GB, free: 16.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.5284, allocations: 1.092 MB / 0.6207 GB, free: 16.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.5309, allocations: 1.32 MB / 0.622 GB, free: 15.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.5331, allocations: 1.15 MB / 0.6231 GB, free: 14.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.5332, allocations: 3.5 kB / 0.6231 GB, free: 14.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007139/0.5403, allocations: 3.303 MB / 0.6263 GB, free: 13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.5404, allocations: 7.469 kB / 0.6264 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.5404, allocations: 7.531 kB / 0.6264 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/0.5428, allocations: 0.791 MB / 0.6271 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.5445, allocations: 428.2 kB / 0.6275 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.5586, allocations: 14.67 MB / 0.6419 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.561, allocations: 303.6 kB / 0.6422 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.5612, allocations: 55.92 kB / 0.6422 GB, free: 12.84 MB / 478.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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009483/0.5621, allocations: 392.5 kB / 0.6426 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.5624, allocations: 146.2 kB / 0.6427 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/0.5701, allocations: 3.236 MB / 0.6459 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5702, allocations: 12 kB / 0.6459 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.5702, allocations: 12 kB / 0.6459 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.5702, allocations: 5.078 kB / 0.6459 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.5807, allocations: 4.946 MB / 0.6507 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.5808, allocations: 4 kB / 0.6507 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.5822, allocations: 363.2 kB / 0.6511 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/0.5844, allocations: 0.6939 MB / 0.6518 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/0.5845, allocations: 35.95 kB / 0.6518 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.5981, allocations: 14.31 MB / 0.6658 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.5982, allocations: 11.73 kB / 0.6658 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007306/0.6055, allocations: 3.067 MB / 0.6688 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009437/0.6065, allocations: 387.2 kB / 0.6692 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.6067, allocations: 23.98 kB / 0.6692 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.6083, allocations: 295.5 kB / 0.6695 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.6085, allocations: 84.92 kB / 0.6695 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/0.6086, allocations: 35.97 kB / 0.6696 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009985/0.6096, allocations: 0.7288 MB / 0.6703 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6096, allocations: 0 / 0.6703 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001492/0.6111, allocations: 432 kB / 0.6707 GB, free: 14.51 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007152/0.6183, allocations: 3.644 MB / 0.6743 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007329/0.6256, allocations: 3.661 MB / 0.6778 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6257, allocations: 0.5625 kB / 0.6778 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004391/0.6301, allocations: 2.387 MB / 0.6802 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.6325, allocations: 484 kB / 0.6806 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02346/0.656, allocations: 12 MB / 0.6923 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.657, allocations: 1.391 MB / 0.6937 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001712/0.6587, allocations: 383.9 kB / 0.6941 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008006/0.6595, allocations: 0.5891 MB / 0.6946 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of SimCode: time 1.382e-06/0.6595, allocations: 0 / 0.6946 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06387/0.7234, allocations: 40.27 MB / 0.734 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.7237, allocations: 203.7 kB / 0.7342 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.101, allocations: 0 / 0.7342 GB, free: 13.59 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: