Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 107.6 kB / 17.07 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 196.6 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8824/0.8824, allocations: 126.7 MB / 424.6 MB, free: 6.234 MB / 350.1 MB " [Timeout remaining time 179] 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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 0.582 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4406, allocations: 78.86 MB / 0.6591 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007282/0.4479, allocations: 6.734 MB / 0.6656 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004674/0.4527, allocations: 3.035 MB / 0.6686 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006397/0.4533, allocations: 27.53 kB / 0.6686 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.4557, allocations: 0.9442 MB / 0.6695 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.4576, allocations: 0.4911 MB / 0.67 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.4591, allocations: 436.8 kB / 0.6704 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.4609, allocations: 1.224 MB / 0.6716 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009961/0.4619, allocations: 0.6605 MB / 0.6723 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.4631, allocations: 477.9 kB / 0.6727 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.4644, allocations: 0.5118 MB / 0.6732 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.4646, allocations: 70.25 kB / 0.6733 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009932/0.4656, allocations: 383 kB / 0.6737 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.4658, allocations: 303.5 kB / 0.674 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.4663, allocations: 452.4 kB / 0.6744 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.4677, allocations: 1.222 MB / 0.6756 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4677, allocations: 1.344 kB / 0.6756 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4677, allocations: 0 / 0.6756 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.711e-05/0.4677, allocations: 0 / 0.6756 GB, free: 4.207 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001901/0.4696, allocations: 1.183 MB / 0.6767 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4697, allocations: 9.156 kB / 0.6767 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.4698, allocations: 126.7 kB / 0.6769 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.4713, allocations: 235.8 kB / 0.6771 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009097/0.4723, allocations: 0.5971 MB / 0.6777 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.4723, allocations: 52.02 kB / 0.6777 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4724, allocations: 70.11 kB / 0.6778 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.4738, allocations: 1.08 MB / 0.6788 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.4738, allocations: 14.17 kB / 0.6789 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.4739, allocations: 29.98 kB / 0.6789 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.474, allocations: 80.23 kB / 0.679 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.4751, allocations: 0.7578 MB / 0.6797 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.4806, allocations: 5.877 MB / 0.6854 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.4817, allocations: 0.5625 MB / 0.686 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.4823, allocations: 329 kB / 0.6863 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.4823, allocations: 5.094 kB / 0.6863 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.4823, allocations: 38.28 kB / 0.6863 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 3.587e-06/0.4824, allocations: 0 / 0.6863 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004263/0.4866, allocations: 2.003 MB / 0.6883 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.4867, allocations: 56.31 kB / 0.6884 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.4875, allocations: 0.5472 MB / 0.6889 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.4876, allocations: 35.88 kB / 0.6889 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.488, allocations: 428.9 kB / 0.6893 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.4882, allocations: 181.6 kB / 0.6895 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.4884, allocations: 126.8 kB / 0.6896 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.4886, allocations: 373.6 kB / 0.69 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.489, allocations: 275.7 kB / 0.6902 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.4897, allocations: 497.5 kB / 0.6907 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.4908, allocations: 0.8065 MB / 0.6915 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4908, allocations: 2.219 kB / 0.6915 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002013/0.4929, allocations: 1.095 MB / 0.6926 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4929, allocations: 8.375 kB / 0.6926 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4929, allocations: 10.88 kB / 0.6926 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009034/0.4938, allocations: 273 kB / 0.6929 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.4943, allocations: 124.5 kB / 0.693 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007881/0.5022, allocations: 7.147 MB / 0.7 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.5031, allocations: 42.2 kB / 0.7 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.5032, allocations: 31.47 kB / 0.7 GB, free: 12 kB / 0.5137 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0005667/0.5038, allocations: 251 kB / 0.7003 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.504, allocations: 75.86 kB / 0.7003 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.5057, allocations: 0.892 MB / 0.7012 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5058, allocations: 5.594 kB / 0.7012 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.5058, allocations: 3.75 kB / 0.7012 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.5058, allocations: 3.984 kB / 0.7012 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/0.5092, allocations: 1.719 MB / 0.7029 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5092, allocations: 9.344 kB / 0.7029 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.5096, allocations: 59.77 kB / 0.703 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008527/0.5104, allocations: 265.4 kB / 0.7032 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.5105, allocations: 11.67 kB / 0.7032 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007641/0.5181, allocations: 7.128 MB / 0.7102 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.5182, allocations: 2.281 kB / 0.7102 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.5199, allocations: 0.992 MB / 0.7112 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.5203, allocations: 192.6 kB / 0.7114 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.5204, allocations: 12.12 kB / 0.7114 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.5207, allocations: 35.97 kB / 0.7114 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5209, allocations: 43.94 kB / 0.7114 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.5209, allocations: 12 kB / 0.7114 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004747/0.5214, allocations: 387.1 kB / 0.7118 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5214, allocations: 0 / 0.7118 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008289/0.5222, allocations: 224 kB / 0.712 GB, free: 5.359 MB / 0.5294 GB 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001829/0.524, allocations: 1.554 MB / 0.7135 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.5261, allocations: 1.276 MB / 0.7148 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5261, allocations: 0 / 0.7148 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.5274, allocations: 0.8932 MB / 0.7157 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5285, allocations: 215 kB / 0.7159 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/0.5371, allocations: 6.383 MB / 0.7221 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.5378, allocations: 1.009 MB / 0.7231 GB, free: 9.512 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003784/0.5382, allocations: 126 kB / 0.7232 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.5386, allocations: 247.4 kB / 0.7234 GB, free: 9.145 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.5386, allocations: 0 / 0.7234 GB, free: 9.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07992/0.6185, allocations: 17.36 MB / 0.7404 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.85, allocations: 19.48 kB / 0.7404 GB, free: 8.035 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.847432147944346] Failed to read output from testmodel.py, exit status != 0: 11.943820736953057 11.95778426 11.48738773 Calling exit ...