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.00115/0.00115, allocations: 100.1 kB / 15.88 MB, free: 12 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.001317/0.001317, allocations: 208.3 kB / 16.79 MB, free: 6.84 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.193/1.193, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6104/0.6104, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 65.84 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1157, allocations: 76.19 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01118/0.127, allocations: 10.84 MB / 0.5664 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1376, allocations: 8.804 MB / 0.575 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.1383, allocations: 55.62 kB / 0.5751 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.1417, allocations: 1.548 MB / 0.5766 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.1443, allocations: 1.403 MB / 0.578 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.1455, allocations: 0.6044 MB / 0.5786 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.1477, allocations: 2.906 MB / 0.5814 GB, free: 496 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1983/0.346, allocations: 1.322 MB / 0.5827 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.3477, allocations: 0.8858 MB / 0.5836 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.3488, allocations: 1.022 MB / 0.5846 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.349, allocations: 87.31 kB / 0.5846 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.3505, allocations: 0.9108 MB / 0.5855 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.351, allocations: 0.5268 MB / 0.586 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000747/0.3517, allocations: 0.8297 MB / 0.5869 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.3541, allocations: 2.543 MB / 0.5893 GB, free: 10.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3541, allocations: 1.359 kB / 0.5893 GB, free: 10.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.3541, allocations: 1.375 kB / 0.5893 GB, free: 10.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.3541, allocations: 0 / 0.5893 GB, free: 10.69 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.002825/0.357, allocations: 2.016 MB / 0.5913 GB, free: 9.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.357, allocations: 10.03 kB / 0.5913 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.3572, allocations: 193.2 kB / 0.5915 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.3673, allocations: 2.053 MB / 0.5935 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.3691, allocations: 1.117 MB / 0.5946 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/0.3691, allocations: 89.55 kB / 0.5947 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.3694, allocations: 112.6 kB / 0.5948 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/0.3743, allocations: 2.485 MB / 0.5972 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.3743, allocations: 13.66 kB / 0.5972 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.3745, allocations: 57.95 kB / 0.5973 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003358/0.3749, allocations: 125.7 kB / 0.5974 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005992/0.3809, allocations: 2.54 MB / 0.5999 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.3914, allocations: 10.07 MB / 0.6097 GB, free: 17.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005031/0.3964, allocations: 1.959 MB / 0.6116 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.3986, allocations: 0.9703 MB / 0.6126 GB, free: 16.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.3987, allocations: 9.844 kB / 0.6126 GB, free: 16.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3987, allocations: 45.11 kB / 0.6126 GB, free: 16.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/0.3987, allocations: 0 / 0.6126 GB, free: 16.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02598/0.4247, allocations: 8.703 MB / 0.6211 GB, free: 11.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.4248, allocations: 69.78 kB / 0.6212 GB, free: 11.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.4259, allocations: 1.102 MB / 0.6223 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.591e-05/0.426, allocations: 40.23 kB / 0.6223 GB, free: 11.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.4264, allocations: 0.7346 MB / 0.623 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.4266, allocations: 281 kB / 0.6233 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.427, allocations: 204.1 kB / 0.6235 GB, free: 10.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.4271, allocations: 344.2 kB / 0.6238 GB, free: 9.867 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.4295, allocations: 1.075 MB / 0.6249 GB, free: 9.316 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/0.432, allocations: 1.304 MB / 0.6261 GB, free: 8.484 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004976/0.437, allocations: 2.382 MB / 0.6285 GB, free: 6.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.437, allocations: 4 kB / 0.6285 GB, free: 6.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007526/0.4445, allocations: 3.272 MB / 0.6317 GB, free: 3.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4445, allocations: 8 kB / 0.6317 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4446, allocations: 4.938 kB / 0.6317 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/0.4471, allocations: 0.7912 MB / 0.6324 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.4488, allocations: 422 kB / 0.6328 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.4621, allocations: 14.69 MB / 0.6472 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4639, allocations: 291.5 kB / 0.6475 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.4641, allocations: 47.97 kB / 0.6475 GB, free: 2.066 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 (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.0006289/0.4647, allocations: 400.3 kB / 0.6479 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.4649, allocations: 150.2 kB / 0.648 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007554/0.4725, allocations: 3.203 MB / 0.6512 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4725, allocations: 12 kB / 0.6512 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4725, allocations: 8 kB / 0.6512 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4725, allocations: 4.172 kB / 0.6512 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009402/0.4819, allocations: 4.91 MB / 0.656 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.482, allocations: 0 / 0.656 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.4834, allocations: 352.6 kB / 0.6563 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.4855, allocations: 0.7028 MB / 0.657 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/0.4856, allocations: 31.97 kB / 0.657 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.498, allocations: 14.31 MB / 0.671 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.498, allocations: 4 kB / 0.671 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0068/0.5048, allocations: 3.044 MB / 0.674 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/0.5053, allocations: 379.2 kB / 0.6744 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.5055, allocations: 19.94 kB / 0.6744 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.5071, allocations: 295.5 kB / 0.6747 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.5073, allocations: 76.41 kB / 0.6747 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/0.5074, allocations: 43.95 kB / 0.6748 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008447/0.5082, allocations: 0.7377 MB / 0.6755 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5082, allocations: 3.938 kB / 0.6755 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001217/0.5094, allocations: 432 kB / 0.6759 GB, free: 3.852 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 (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.007099/0.5165, allocations: 3.623 MB / 0.6794 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007001/0.5236, allocations: 3.618 MB / 0.683 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5236, allocations: 3.375 kB / 0.683 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004132/0.5277, allocations: 2.371 MB / 0.6853 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.5296, allocations: 485.2 kB / 0.6858 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/0.5591, allocations: 17.12 MB / 0.7025 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.56, allocations: 1.391 MB / 0.7038 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001324/0.5613, allocations: 379.9 kB / 0.7042 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/0.562, allocations: 0.5969 MB / 0.7048 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.562, allocations: 0 / 0.7048 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/0.6165, allocations: 40.1 MB / 0.7439 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.6167, allocations: 229.9 kB / 0.7442 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/2.981, allocations: 0 / 0.7442 GB, free: 13.82 MB / 0.5762 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/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)