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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9181/0.9181, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5692/0.5692, allocations: 114 MB / 373.9 MB, free: 8.727 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.701e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007981/0.007998, allocations: 10.17 MB / 0.5641 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00839/0.01639, allocations: 8.378 MB / 0.5723 GB, free: 176 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009531/0.01734, allocations: 87.25 kB / 0.5724 GB, free: 88 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.01945, allocations: 1.685 MB / 0.574 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.02242, allocations: 1.614 MB / 0.5756 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.02359, allocations: 0.6839 MB / 0.5763 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.02548, allocations: 2.356 MB / 0.5786 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.0268, allocations: 1.152 MB / 0.5797 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.0283, allocations: 1.535 MB / 0.5812 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.02914, allocations: 0.8257 MB / 0.582 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.02929, allocations: 136 kB / 0.5821 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008849/0.03018, allocations: 0.7482 MB / 0.5829 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.03054, allocations: 0.5958 MB / 0.5834 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.03097, allocations: 0.5962 MB / 0.584 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.03286, allocations: 2.59 MB / 0.5866 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.03287, allocations: 0 / 0.5866 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.192e-06/0.03287, allocations: 0 / 0.5866 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.03289, allocations: 4 kB / 0.5866 GB, free: 1.496 MB / 0.5417 GB 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.00201/0.0349, allocations: 1.964 MB / 0.5885 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.03494, allocations: 16.56 kB / 0.5885 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.03509, allocations: 190.1 kB / 0.5887 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/0.0403, allocations: 2.055 MB / 0.5907 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.04155, allocations: 1.129 MB / 0.5918 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.04159, allocations: 82.7 kB / 0.5919 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.04174, allocations: 116.4 kB / 0.592 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.04495, allocations: 2.697 MB / 0.5946 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.04498, allocations: 7.938 kB / 0.5946 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.04508, allocations: 51.98 kB / 0.5947 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/0.04528, allocations: 126.1 kB / 0.5948 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003814/0.04909, allocations: 2.545 MB / 0.5973 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007003/0.05609, allocations: 7.686 MB / 0.6048 GB, free: 14.35 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.05925, allocations: 1.85 MB / 0.6066 GB, free: 12.49 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.06092, allocations: 0.9466 MB / 0.6075 GB, free: 11.54 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.06096, allocations: 4.5 kB / 0.6075 GB, free: 11.54 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.06099, allocations: 43.06 kB / 0.6076 GB, free: 11.49 MB / 0.573 GB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.061, allocations: 0 / 0.6076 GB, free: 11.49 MB / 0.573 GB Notification: Performance of matching and sorting (n=81): time 0.01661/0.07761, allocations: 9.132 MB / 0.6165 GB, free: 2.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.07765, allocations: 60.06 kB / 0.6165 GB, free: 2.25 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.07861, allocations: 1.108 MB / 0.6176 GB, free: 1.125 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.07867, allocations: 45.69 kB / 0.6177 GB, free: 1.074 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.07901, allocations: 0.7473 MB / 0.6184 GB, free: 328 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.07918, allocations: 289.4 kB / 0.6187 GB, free: 36 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.07943, allocations: 198.6 kB / 0.6189 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.07952, allocations: 353.8 kB / 0.6192 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.08109, allocations: 1.091 MB / 0.6203 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.08288, allocations: 1.313 MB / 0.6215 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003273/0.08615, allocations: 2.405 MB / 0.6239 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.08616, allocations: 4 kB / 0.6239 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004784/0.09094, allocations: 3.281 MB / 0.6271 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.09097, allocations: 11.94 kB / 0.6271 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.09098, allocations: 8 kB / 0.6271 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.09261, allocations: 0.8427 MB / 0.6279 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.09377, allocations: 423.2 kB / 0.6283 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.1048, allocations: 15.19 MB / 0.6432 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.1061, allocations: 287.5 kB / 0.6434 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/0.1062, allocations: 51.97 kB / 0.6435 GB, free: 5.418 MB / 0.6042 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.000609/0.1068, allocations: 398.2 kB / 0.6439 GB, free: 5.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1069, allocations: 155 kB / 0.644 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004759/0.1117, allocations: 3.218 MB / 0.6472 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1117, allocations: 8 kB / 0.6472 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.1117, allocations: 8 kB / 0.6472 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1117, allocations: 7.922 kB / 0.6472 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.118, allocations: 4.675 MB / 0.6518 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.118, allocations: 0 / 0.6518 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.1188, allocations: 359.7 kB / 0.6521 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.1202, allocations: 0.7642 MB / 0.6528 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.1203, allocations: 39.89 kB / 0.6529 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009659/0.1299, allocations: 14.79 MB / 0.6673 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1299, allocations: 4 kB / 0.6673 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/0.1346, allocations: 3.064 MB / 0.6703 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.135, allocations: 315.2 kB / 0.6706 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.1351, allocations: 20 kB / 0.6706 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008985/0.136, allocations: 303.5 kB / 0.6709 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.1363, allocations: 88.38 kB / 0.671 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.1363, allocations: 39.91 kB / 0.671 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006651/0.137, allocations: 0.7405 MB / 0.6718 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.137, allocations: 0 / 0.6718 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001013/0.138, allocations: 440 kB / 0.6722 GB, free: 6.832 MB / 0.6355 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.004637/0.1426, allocations: 3.628 MB / 0.6757 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.2104/0.353, allocations: 3.54 MB / 0.6792 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.353, allocations: 3.406 kB / 0.6792 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00259/0.3556, allocations: 2.328 MB / 0.6815 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.357, allocations: 0.5163 MB / 0.682 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.3748, allocations: 16.26 MB / 0.6978 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.3753, allocations: 0.8097 MB / 0.6986 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007306/0.376, allocations: 375.5 kB / 0.699 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.3765, allocations: 0.6001 MB / 0.6996 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.3765, allocations: 0 / 0.6996 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06602/0.4425, allocations: 46.11 MB / 0.7446 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.38, allocations: 0 / 0.7446 GB, free: 129.7 MB / 0.6355 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.022451525554061] Failed to read output from testmodel.py, exit status != 0: 8.484352363273501 8.491147267 8.456873003 Calling exit ...