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.001626/0.001626, allocations: 99.31 kB / 16.27 MB, free: 6.344 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.002132/0.002132, allocations: 192.2 kB / 17.2 MB, free: 5.949 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7404/0.7404, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3153, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01022/0.3256, allocations: 10.9 MB / 0.5779 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3371, allocations: 8.789 MB / 0.5865 GB, free: 18.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.3387, allocations: 58.75 kB / 0.5866 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.3425, allocations: 1.676 MB / 0.5882 GB, free: 17.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.3471, allocations: 1.528 MB / 0.5897 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.3488, allocations: 0.6783 MB / 0.5904 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.3513, allocations: 2.273 MB / 0.5926 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.3528, allocations: 1.398 MB / 0.5939 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.3543, allocations: 0.9694 MB / 0.5949 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.3558, allocations: 1.02 MB / 0.5959 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.3561, allocations: 138.8 kB / 0.596 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.3576, allocations: 0.7988 MB / 0.5968 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.358, allocations: 0.5636 MB / 0.5973 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006266/0.3586, allocations: 0.89 MB / 0.5982 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.3606, allocations: 2.539 MB / 0.6007 GB, free: 8.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3606, allocations: 0 / 0.6007 GB, free: 8.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3606, allocations: 0 / 0.6007 GB, free: 8.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.3606, allocations: 0 / 0.6007 GB, free: 8.414 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.002338/0.363, allocations: 2.014 MB / 0.6027 GB, free: 6.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.363, allocations: 16.61 kB / 0.6027 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.3632, allocations: 186.1 kB / 0.6029 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.3735, allocations: 2.046 MB / 0.6049 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.3753, allocations: 1.126 MB / 0.606 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.3753, allocations: 90.69 kB / 0.606 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.3755, allocations: 123.8 kB / 0.6062 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/0.3799, allocations: 2.486 MB / 0.6086 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.38, allocations: 7.938 kB / 0.6086 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.3801, allocations: 52.05 kB / 0.6086 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003323/0.3805, allocations: 126.1 kB / 0.6088 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006991/0.3875, allocations: 2.537 MB / 0.6112 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.3995, allocations: 10.08 MB / 0.6211 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006244/0.4058, allocations: 1.956 MB / 0.623 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002768/0.4086, allocations: 0.966 MB / 0.6239 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.4086, allocations: 8.438 kB / 0.6239 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4087, allocations: 43 kB / 0.624 GB, free: 15.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.836e-06/0.4087, allocations: 0 / 0.624 GB, free: 15.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.03165/0.4403, allocations: 8.718 MB / 0.6325 GB, free: 6.785 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.4404, allocations: 67.94 kB / 0.6326 GB, free: 6.703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.4418, allocations: 1.089 MB / 0.6336 GB, free: 5.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-05/0.4419, allocations: 37.7 kB / 0.6337 GB, free: 5.555 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.4424, allocations: 0.7457 MB / 0.6344 GB, free: 4.801 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.4427, allocations: 280 kB / 0.6347 GB, free: 4.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/0.4431, allocations: 206.4 kB / 0.6349 GB, free: 4.316 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4432, allocations: 345.9 kB / 0.6352 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/0.4462, allocations: 1.067 MB / 0.6362 GB, free: 2.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/0.4493, allocations: 1.317 MB / 0.6375 GB, free: 1.488 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005981/0.4553, allocations: 2.382 MB / 0.6398 GB, free: 15.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4553, allocations: 0 / 0.6398 GB, free: 15.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008705/0.464, allocations: 3.273 MB / 0.643 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.464, allocations: 8 kB / 0.643 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.4641, allocations: 12.09 kB / 0.6431 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.4668, allocations: 0.795 MB / 0.6438 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.4687, allocations: 419.3 kB / 0.6442 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.4844, allocations: 15.92 MB / 0.6598 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.4867, allocations: 291.5 kB / 0.6601 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.4869, allocations: 59.95 kB / 0.6601 GB, free: 9.074 MB / 0.4981 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 (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.0007469/0.4877, allocations: 401.9 kB / 0.6605 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.488, allocations: 146.3 kB / 0.6606 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008899/0.4969, allocations: 3.202 MB / 0.6638 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4969, allocations: 8 kB / 0.6638 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.4969, allocations: 8 kB / 0.6638 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4969, allocations: 3.984 kB / 0.6638 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.5082, allocations: 4.893 MB / 0.6686 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5082, allocations: 16.33 kB / 0.6686 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.5099, allocations: 347.5 kB / 0.6689 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/0.5123, allocations: 0.7053 MB / 0.6696 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/0.5124, allocations: 27.97 kB / 0.6696 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/0.5278, allocations: 15.55 MB / 0.6848 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5278, allocations: 3.938 kB / 0.6848 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008287/0.5361, allocations: 3.038 MB / 0.6878 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.5368, allocations: 383.2 kB / 0.6881 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.5371, allocations: 12 kB / 0.6882 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.5391, allocations: 303.4 kB / 0.6884 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.5393, allocations: 72.5 kB / 0.6885 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/0.5394, allocations: 39.95 kB / 0.6886 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009728/0.5404, allocations: 0.7405 MB / 0.6893 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5404, allocations: 7.938 kB / 0.6893 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001395/0.5418, allocations: 428 kB / 0.6897 GB, free: 9.359 MB / 0.5294 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.008317/0.5501, allocations: 3.616 MB / 0.6932 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008855/0.559, allocations: 3.762 MB / 0.6969 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.559, allocations: 0 / 0.6969 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005003/0.564, allocations: 2.383 MB / 0.6992 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.5664, allocations: 0.5202 MB / 0.6997 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/0.601, allocations: 16.57 MB / 0.7159 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.6022, allocations: 1.384 MB / 0.7173 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001682/0.6039, allocations: 371.9 kB / 0.7176 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008449/0.6048, allocations: 0.6008 MB / 0.7182 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.6048, allocations: 0 / 0.7182 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/0.9097, allocations: 41.2 MB / 0.7584 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.393/10.3, allocations: 11.72 kB / 0.7584 GB, free: 159.4 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)