Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00133/0.00133, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001639/0.001639, allocations: 216.4 kB / 23 MB, free: 5.066 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9782/0.9782, allocations: 150 MB / 463.2 MB, free: 10.49 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.002038/0.002038, allocations: 66.58 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1914, allocations: 89.17 MB / 0.7284 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.4203/0.6117, allocations: 34.26 MB / 0.7618 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.6302, allocations: 10.68 MB / 0.7723 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.6332, allocations: 193.2 kB / 0.7724 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008954/0.6422, allocations: 3.901 MB / 0.7762 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.6476, allocations: 1.947 MB / 0.7781 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005635/0.6532, allocations: 2.192 MB / 0.7803 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.664, allocations: 7.335 MB / 0.7875 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008777/0.6728, allocations: 5.149 MB / 0.7925 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006934/0.6797, allocations: 3.271 MB / 0.7957 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006556/0.6863, allocations: 3.675 MB / 0.7993 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001939/0.6882, allocations: 0.6493 MB / 0.7999 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005297/0.6935, allocations: 1.805 MB / 0.8017 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006535/0.7, allocations: 2.615 MB / 0.8042 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01093/0.711, allocations: 2.897 MB / 0.807 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.7277, allocations: 10.13 MB / 0.8169 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.7277, allocations: 7.984 kB / 0.8169 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7277, allocations: 3.938 kB / 0.8169 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000285/0.728, allocations: 0 / 0.8169 GB, free: 11.34 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01206/0.74, allocations: 5.046 MB / 0.8219 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7401, allocations: 10.25 kB / 0.8219 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001122/0.7412, allocations: 0.6844 MB / 0.8226 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.7463, allocations: 0.972 MB / 0.8235 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007239/0.7535, allocations: 3.002 MB / 0.8264 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.7538, allocations: 355.1 kB / 0.8268 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.755, allocations: 463.7 kB / 0.8272 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01735/0.7723, allocations: 7.666 MB / 0.8347 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/0.7725, allocations: 31.77 kB / 0.8347 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006966/0.7732, allocations: 196.9 kB / 0.8349 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004259/0.7736, allocations: 320.9 kB / 0.8352 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.7867, allocations: 5.702 MB / 0.8408 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04533/0.832, allocations: 34.56 MB / 0.8745 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.8347, allocations: 1.565 MB / 0.8761 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.8364, allocations: 1.125 MB / 0.8772 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.196e-05/0.8364, allocations: 16.12 kB / 0.8772 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.8365, allocations: 47.88 kB / 0.8772 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=133): time 3.106e-06/0.8365, allocations: 0 / 0.8772 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.01465/0.8511, allocations: 6.218 MB / 0.8833 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.8512, allocations: 68.72 kB / 0.8834 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.8535, allocations: 1.484 MB / 0.8848 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.8536, allocations: 45.7 kB / 0.8849 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.8554, allocations: 2.066 MB / 0.8869 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007057/0.8561, allocations: 0.4989 MB / 0.8874 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000571/0.8567, allocations: 355.3 kB / 0.8877 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.8568, allocations: 305.1 kB / 0.888 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.8583, allocations: 0.9096 MB / 0.8889 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.8603, allocations: 1.597 MB / 0.8904 GB, free: 4 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/0.8642, allocations: 2.728 MB / 0.8931 GB, free: 12.97 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.8642, allocations: 8 kB / 0.8931 GB, free: 12.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006623/0.8709, allocations: 3.512 MB / 0.8966 GB, free: 9.402 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.8709, allocations: 15.98 kB / 0.8966 GB, free: 9.387 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/0.871, allocations: 28 kB / 0.8966 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/0.8738, allocations: 0.9012 MB / 0.8975 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.8751, allocations: 351.4 kB / 0.8978 GB, free: 8.082 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/0.8987, allocations: 21.89 MB / 0.9192 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.9003, allocations: 99.95 kB / 0.9193 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.9005, allocations: 84 kB / 0.9194 GB, free: 0.6758 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002891/0.9033, allocations: 1.615 MB / 0.9209 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.9038, allocations: 214.6 kB / 0.9211 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005664/0.9095, allocations: 2.972 MB / 0.924 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.9095, allocations: 12 kB / 0.9241 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/0.9095, allocations: 12 kB / 0.9241 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.9095, allocations: 7.969 kB / 0.9241 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.9226, allocations: 7.298 MB / 0.9312 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.9226, allocations: 8.062 kB / 0.9312 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/0.9234, allocations: 179.7 kB / 0.9314 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/0.9258, allocations: 0.8179 MB / 0.9322 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.9259, allocations: 36 kB / 0.9322 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/0.9477, allocations: 20.73 MB / 0.9525 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9477, allocations: 4 kB / 0.9525 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005586/0.9533, allocations: 3.007 MB / 0.9554 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.9544, allocations: 392 kB / 0.9558 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.9547, allocations: 43.92 kB / 0.9558 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.9554, allocations: 63.92 kB / 0.9559 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/0.9558, allocations: 132.6 kB / 0.956 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.9558, allocations: 40 kB / 0.956 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00143/0.9573, allocations: 0.9717 MB / 0.957 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9573, allocations: 3.938 kB / 0.957 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002839/0.9601, allocations: 0.7891 MB / 0.9578 GB, free: 7.559 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005735/0.9658, allocations: 3.61 MB / 0.9613 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006423/0.9723, allocations: 3.906 MB / 0.9651 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.9723, allocations: 0 / 0.9651 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/0.9764, allocations: 2.677 MB / 0.9677 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/0.9799, allocations: 0.7325 MB / 0.9684 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/1.019, allocations: 22.53 MB / 0.9904 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003688/1.022, allocations: 3.117 MB / 0.9935 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001348/1.024, allocations: 450 kB / 0.9939 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.026, allocations: 1.547 MB / 0.9954 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of SimCode: time 9.12e-07/1.026, allocations: 0 / 0.9954 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1567/1.182, allocations: 63.44 MB / 1.057 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16.37, allocations: 3.859 kB / 1.057 GB, free: 0.793 MB / 0.8262 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.34192074600287] Failed to read output from testmodel.py, exit status != 0: 16.50772091700128 16.523843728 15.792442887 Calling exit ...