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.001321/0.001321, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 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.001796/0.001796, allocations: 220 kB / 23 MB, free: 5.004 MB / 14.72 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 1.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.9982/0.9982, allocations: 150 MB / 463.2 MB, free: 10.55 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 69.39 kB / 0.6413 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.194, allocations: 89.17 MB / 0.7284 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0145/0.2085, allocations: 11.3 MB / 0.7394 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.2232, allocations: 9.146 MB / 0.7483 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.2251, allocations: 91.19 kB / 0.7484 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004873/0.2299, allocations: 1.742 MB / 0.7501 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.2357, allocations: 1.586 MB / 0.7517 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.2381, allocations: 0.6809 MB / 0.7523 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00427/0.2423, allocations: 2.294 MB / 0.7546 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.2444, allocations: 1.164 MB / 0.7557 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.2466, allocations: 1.188 MB / 0.7569 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.2483, allocations: 0.996 MB / 0.7578 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.2485, allocations: 132 kB / 0.758 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.2501, allocations: 0.811 MB / 0.7588 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005868/0.2507, allocations: 0.5607 MB / 0.7593 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009366/0.2517, allocations: 0.8706 MB / 0.7601 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3891/0.6408, allocations: 2.537 MB / 0.7626 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.6408, allocations: 0 / 0.7626 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6408, allocations: 0 / 0.7626 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.723e-05/0.6409, allocations: 0 / 0.7626 GB, free: 11.96 MB / 0.5762 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.003476/0.6444, allocations: 1.982 MB / 0.7646 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.6444, allocations: 16.09 kB / 0.7646 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/0.6446, allocations: 187.7 kB / 0.7648 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.6555, allocations: 2.046 MB / 0.7668 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.6581, allocations: 1.129 MB / 0.7679 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.6582, allocations: 85.22 kB / 0.7679 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.6584, allocations: 121.4 kB / 0.7681 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005459/0.6639, allocations: 2.448 MB / 0.7704 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.6639, allocations: 6.297 kB / 0.7705 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.6641, allocations: 51.47 kB / 0.7705 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003429/0.6644, allocations: 129.2 kB / 0.7706 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007286/0.6717, allocations: 2.542 MB / 0.7731 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.6856, allocations: 9.891 MB / 0.7828 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006337/0.6919, allocations: 1.85 MB / 0.7846 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002572/0.6945, allocations: 0.9368 MB / 0.7855 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.6945, allocations: 9.938 kB / 0.7855 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.6946, allocations: 37.62 kB / 0.7855 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.6946, allocations: 0.9375 kB / 0.7855 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.02904/0.7236, allocations: 8.74 MB / 0.7941 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.7237, allocations: 63.75 kB / 0.7941 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.7249, allocations: 0.9578 MB / 0.7951 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.7251, allocations: 40.14 kB / 0.7951 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.7255, allocations: 0.7816 MB / 0.7959 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.7257, allocations: 294.6 kB / 0.7961 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.726, allocations: 207.4 kB / 0.7963 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.7261, allocations: 347.2 kB / 0.7967 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.7286, allocations: 1.049 MB / 0.7977 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/0.7314, allocations: 1.357 MB / 0.799 GB, free: 456 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005853/0.7372, allocations: 2.415 MB / 0.8014 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.7372, allocations: 3.188 kB / 0.8014 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.009362/0.7466, allocations: 3.232 MB / 0.8045 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.7466, allocations: 12.28 kB / 0.8046 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.7466, allocations: 8.375 kB / 0.8046 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.7495, allocations: 0.8093 MB / 0.8054 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.7515, allocations: 429.9 kB / 0.8058 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/0.769, allocations: 15.08 MB / 0.8205 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.7714, allocations: 288.8 kB / 0.8208 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.7715, allocations: 58.39 kB / 0.8208 GB, free: 15.62 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (88): * Single equations (assignments): 80 * 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.0008409/0.7723, allocations: 408.5 kB / 0.8212 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.7726, allocations: 140.5 kB / 0.8213 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008259/0.7809, allocations: 3.157 MB / 0.8244 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.7809, allocations: 11.88 kB / 0.8244 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.7809, allocations: 7.938 kB / 0.8244 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.7809, allocations: 3.984 kB / 0.8244 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.7925, allocations: 4.803 MB / 0.8291 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.7926, allocations: 7.938 kB / 0.8291 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.7942, allocations: 358.5 kB / 0.8295 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/0.7967, allocations: 0.7098 MB / 0.8302 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.7968, allocations: 35.95 kB / 0.8302 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/0.8142, allocations: 14.68 MB / 0.8446 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.8142, allocations: 4.391 kB / 0.8446 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008453/0.8227, allocations: 3.001 MB / 0.8475 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/0.8235, allocations: 294.5 kB / 0.8478 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.8237, allocations: 16 kB / 0.8478 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.8254, allocations: 299.4 kB / 0.8481 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.8257, allocations: 76.08 kB / 0.8481 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.401e-05/0.8258, allocations: 38.16 kB / 0.8482 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008774/0.8266, allocations: 0.6401 MB / 0.8488 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.8266, allocations: 0 / 0.8488 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001496/0.8281, allocations: 412 kB / 0.8492 GB, free: 4.789 MB / 0.6231 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.008432/0.8366, allocations: 3.58 MB / 0.8527 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008528/0.8451, allocations: 3.506 MB / 0.8561 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.8451, allocations: 4 kB / 0.8561 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005207/0.8503, allocations: 2.329 MB / 0.8584 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.8525, allocations: 498.8 kB / 0.8589 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/0.8897, allocations: 15.6 MB / 0.8741 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.8911, allocations: 1.397 MB / 0.8755 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001572/0.8927, allocations: 371.2 kB / 0.8758 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008934/0.8936, allocations: 0.593 MB / 0.8764 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of SimCode: time 1.152e-06/0.8936, allocations: 0 / 0.8764 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/0.9964, allocations: 39.97 MB / 0.9154 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/17.33, allocations: 7.312 kB / 0.9154 GB, free: 1.07 MB / 0.6856 GB " [Timeout remaining time 643] (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: 21.376551412999106] Failed to read output from testmodel.py, exit status != 0: 17.463983088997338 17.488360377 16.843657595 Calling exit ...