Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.0008362/0.0008362, 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.0008359/0.0008359, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.894/0.894, 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.5823/0.5823, allocations: 114 MB / 373.9 MB, free: 8.691 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5542 GB, free: 1.652 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.886e-05, allocations: 10.22 kB / 0.5542 GB, free: 1.641 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02202/0.02203, allocations: 31.08 MB / 0.5846 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.03857, allocations: 14.29 MB / 0.5985 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/0.041, allocations: 210.4 kB / 0.5987 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004622/0.04563, allocations: 3.677 MB / 0.6023 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006253/0.05188, allocations: 3.076 MB / 0.6053 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004827/0.05671, allocations: 2.356 MB / 0.6076 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.009045/0.06575, allocations: 9.012 MB / 0.6164 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006762/0.07251, allocations: 5.503 MB / 0.6218 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008646/0.08116, allocations: 5.691 MB / 0.6273 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00481/0.08597, allocations: 3.663 MB / 0.6309 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.08719, allocations: 0.7148 MB / 0.6316 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.09016, allocations: 1.638 MB / 0.6332 GB, free: 392 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.002811/0.09298, allocations: 3.012 MB / 0.6362 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003609/0.09658, allocations: 2.362 MB / 0.6385 GB, free: 11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2708/0.3673, allocations: 11.37 MB / 0.6496 GB, free: 36.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3674, allocations: 0 / 0.6496 GB, free: 36.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3674, allocations: 0 / 0.6496 GB, free: 36.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003714/0.3677, allocations: 0.8438 kB / 0.6496 GB, free: 36.12 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01406/0.3818, allocations: 5.98 MB / 0.6554 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3818, allocations: 9.344 kB / 0.6554 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001721/0.3836, allocations: 0.7251 MB / 0.6561 GB, free: 33.91 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005459/0.389, allocations: 1.177 MB / 0.6573 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006593/0.3956, allocations: 3.448 MB / 0.6606 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.3959, allocations: 375.8 kB / 0.661 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.3972, allocations: 0.4889 MB / 0.6615 GB, free: 32.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.4106, allocations: 8.701 MB / 0.67 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.4107, allocations: 19.95 kB / 0.67 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005816/0.4113, allocations: 223.9 kB / 0.6702 GB, free: 31.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006731/0.412, allocations: 439.2 kB / 0.6706 GB, free: 31.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009004/0.421, allocations: 6.074 MB / 0.6766 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/0.4445, allocations: 22.02 MB / 0.6981 GB, free: 19.21 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.4462, allocations: 1.913 MB / 0.6999 GB, free: 18.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.4477, allocations: 1.75 MB / 0.7016 GB, free: 17.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/0.4478, allocations: 17.88 kB / 0.7017 GB, free: 17.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.4479, allocations: 57.22 kB / 0.7017 GB, free: 17.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=171): time 3.696e-06/0.4479, allocations: 0 / 0.7017 GB, free: 17.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=276): time 0.0746/0.5225, allocations: 38.69 MB / 0.7395 GB, free: 5.238 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.5225, allocations: 89.03 kB / 0.7396 GB, free: 5.141 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.5251, allocations: 2.313 MB / 0.7418 GB, free: 2.812 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004029/0.5255, allocations: 73.7 kB / 0.7419 GB, free: 2.734 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.5267, allocations: 2.335 MB / 0.7442 GB, free: 396 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000711/0.5274, allocations: 0.9676 MB / 0.7451 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005815/0.528, allocations: 0.5063 MB / 0.7456 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.528, allocations: 305.1 kB / 0.7459 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.53, allocations: 1.966 MB / 0.7478 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.5323, allocations: 2.608 MB / 0.7504 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/0.5368, allocations: 4.931 MB / 0.7552 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.5368, allocations: 8 kB / 0.7552 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.00918/0.5459, allocations: 7.652 MB / 0.7627 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.546, allocations: 12 kB / 0.7627 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.546, allocations: 16 kB / 0.7627 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005367/0.5514, allocations: 3.213 MB / 0.7658 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5524, allocations: 412 kB / 0.7662 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02965/0.5821, allocations: 32.73 MB / 0.7982 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5841, allocations: 167.2 kB / 0.7984 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.5843, allocations: 108 kB / 0.7985 GB, free: 7.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002222/0.5865, allocations: 1.794 MB / 0.8002 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/0.5869, allocations: 345.9 kB / 0.8005 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008597/0.5955, allocations: 7.241 MB / 0.8076 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.5955, allocations: 24 kB / 0.8076 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-05/0.5956, allocations: 32 kB / 0.8077 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/0.5956, allocations: 17.25 kB / 0.8077 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.6131, allocations: 12.14 MB / 0.8195 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.6131, allocations: 4.844 kB / 0.8195 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.6137, allocations: 237.8 kB / 0.8198 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005207/0.6189, allocations: 2.85 MB / 0.8226 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003432/0.6193, allocations: 48 kB / 0.8226 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02779/0.6471, allocations: 31.54 MB / 0.8534 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6471, allocations: 11 kB / 0.8534 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008232/0.6553, allocations: 6.778 MB / 0.86 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.6568, allocations: 0.733 MB / 0.8608 GB, free: 7.508 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003781/0.6572, allocations: 52.73 kB / 0.8608 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.6583, allocations: 167.8 kB / 0.861 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007704/0.659, allocations: 272.3 kB / 0.8612 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.6592, allocations: 76 kB / 0.8613 GB, free: 6.961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001724/0.6609, allocations: 1.521 MB / 0.8628 GB, free: 5.438 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6609, allocations: 4 kB / 0.8628 GB, free: 5.434 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003746/0.6646, allocations: 1.371 MB / 0.8641 GB, free: 4.062 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007964/0.6726, allocations: 7.394 MB / 0.8713 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007723/0.6803, allocations: 6.553 MB / 0.8777 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.6803, allocations: 4 kB / 0.8777 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004792/0.6851, allocations: 4.251 MB / 0.8819 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.6884, allocations: 1.116 MB / 0.883 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04966/0.738, allocations: 39.2 MB / 0.9213 GB, free: 8.734 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003824/0.7418, allocations: 3.108 MB / 0.9243 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00177/0.7436, allocations: 0.5595 MB / 0.9248 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/0.7455, allocations: 1.973 MB / 0.9268 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of SimCode: time 2.464e-06/0.7455, allocations: 1.75 kB / 0.9268 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3624/1.108, allocations: 118.7 MB / 1.043 GB, free: 195.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.792/10.9, allocations: 6.719 kB / 1.043 GB, free: 195.2 MB / 0.7605 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.517271098680794] Failed to read output from testmodel.py, exit status != 0: 11.028340889140964 11.034137648 10.665262813 Calling exit ...