Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001365/0.001365, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001584/0.001584, allocations: 204 kB / 20.09 MB, free: 2.977 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 1.03/1.03, allocations: 150 MB / 459.5 MB, free: 5.27 MB / 350.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.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.002008/0.002008, allocations: 77.64 kB / 0.6361 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1846, allocations: 89.13 MB / 0.7232 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02897/0.2136, allocations: 22.95 MB / 0.7456 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.2259, allocations: 6.311 MB / 0.7518 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.2282, allocations: 127 kB / 0.7519 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.2329, allocations: 1.573 MB / 0.7534 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.2392, allocations: 1.731 MB / 0.7551 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.2435, allocations: 1.338 MB / 0.7564 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008515/0.252, allocations: 5.939 MB / 0.7622 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006715/0.2587, allocations: 4.475 MB / 0.7666 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004669/0.2634, allocations: 2.477 MB / 0.769 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005268/0.2687, allocations: 3.073 MB / 0.772 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00179/0.2705, allocations: 459.9 kB / 0.7724 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.2746, allocations: 1.119 MB / 0.7735 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003789/0.2783, allocations: 2.089 MB / 0.7756 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003988/0.2823, allocations: 2.167 MB / 0.7777 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.2947, allocations: 7.312 MB / 0.7848 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.2947, allocations: 0 / 0.7848 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2947, allocations: 0 / 0.7848 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002774/0.295, allocations: 0 / 0.7848 GB, free: 4.59 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01061/0.3056, allocations: 3.913 MB / 0.7886 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3056, allocations: 12.03 kB / 0.7887 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009188/0.3066, allocations: 0.5014 MB / 0.7891 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00661/0.3132, allocations: 1.231 MB / 0.7903 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006124/0.3193, allocations: 2.353 MB / 0.7926 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.3196, allocations: 242.4 kB / 0.7929 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/0.3212, allocations: 312 kB / 0.7932 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.3346, allocations: 6.216 MB / 0.7992 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.107e-05/0.3347, allocations: 15.86 kB / 0.7993 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.3351, allocations: 139.9 kB / 0.7994 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000542/0.3357, allocations: 406.3 kB / 0.7998 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009282/0.3449, allocations: 4.662 MB / 0.8043 GB, free: 204 kB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04035/0.3853, allocations: 29 MB / 0.8327 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.3877, allocations: 1.375 MB / 0.834 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/0.39, allocations: 1.429 MB / 0.8354 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.3901, allocations: 13 kB / 0.8354 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.3902, allocations: 55.42 kB / 0.8355 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.397e-06/0.3902, allocations: 0 / 0.8355 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.5476/0.9378, allocations: 37.15 MB / 0.8717 GB, free: 130.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.9379, allocations: 74.47 kB / 0.8718 GB, free: 130.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.94, allocations: 1.419 MB / 0.8732 GB, free: 129.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002976/0.9403, allocations: 54.92 kB / 0.8732 GB, free: 129.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009744/0.9413, allocations: 1.582 MB / 0.8748 GB, free: 128.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005962/0.9419, allocations: 0.6451 MB / 0.8754 GB, free: 128.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007914/0.9427, allocations: 375.8 kB / 0.8758 GB, free: 128.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.9428, allocations: 312.5 kB / 0.8761 GB, free: 127.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.9455, allocations: 1.786 MB / 0.8778 GB, free: 127.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/0.9491, allocations: 2.346 MB / 0.8801 GB, free: 125.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/0.9551, allocations: 4.397 MB / 0.8844 GB, free: 123.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.9551, allocations: 5.406 kB / 0.8844 GB, free: 123.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01634/0.9714, allocations: 8.423 MB / 0.8926 GB, free: 119.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.9715, allocations: 16.97 kB / 0.8927 GB, free: 119.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.9715, allocations: 18.8 kB / 0.8927 GB, free: 119.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01358/0.9851, allocations: 4.635 MB / 0.8972 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.9862, allocations: 305 kB / 0.8975 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03813/1.024, allocations: 32.62 MB / 0.9293 GB, free: 83.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/1.027, allocations: 147.8 kB / 0.9295 GB, free: 83.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/1.027, allocations: 80 kB / 0.9296 GB, free: 83.52 MB / 0.67 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002232/1.029, allocations: 1.333 MB / 0.9309 GB, free: 82.19 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004762/1.03, allocations: 219.2 kB / 0.9311 GB, free: 81.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/1.045, allocations: 8.289 MB / 0.9392 GB, free: 73.65 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/1.045, allocations: 16 kB / 0.9392 GB, free: 73.63 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.968e-05/1.045, allocations: 28 kB / 0.9392 GB, free: 73.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/1.045, allocations: 7.969 kB / 0.9392 GB, free: 73.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/1.066, allocations: 12.7 MB / 0.9516 GB, free: 60.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.066, allocations: 10.16 kB / 0.9516 GB, free: 60.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/1.067, allocations: 163.7 kB / 0.9518 GB, free: 60.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01295/1.08, allocations: 4.493 MB / 0.9562 GB, free: 56.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/1.08, allocations: 36 kB / 0.9562 GB, free: 56.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03826/1.118, allocations: 32.23 MB / 0.9877 GB, free: 23.01 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.118, allocations: 11.94 kB / 0.9877 GB, free: 23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/1.133, allocations: 8.101 MB / 0.9956 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.134, allocations: 0.6293 MB / 0.9962 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/1.134, allocations: 43.94 kB / 0.9962 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/1.136, allocations: 139.8 kB / 0.9964 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000768/1.136, allocations: 170.6 kB / 0.9965 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.136, allocations: 55.94 kB / 0.9966 GB, free: 13.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001027/1.137, allocations: 0.9588 MB / 0.9975 GB, free: 12.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.137, allocations: 0 / 0.9975 GB, free: 12.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003138/1.141, allocations: 1.113 MB / 0.9986 GB, free: 11.66 MB / 0.67 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 (80): * 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: 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01453/1.155, allocations: 8.705 MB / 1.007 GB, free: 2.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.168, allocations: 6.304 MB / 1.013 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.168, allocations: 3.938 kB / 1.013 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00999/1.178, allocations: 4.191 MB / 1.017 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/1.181, allocations: 0.5224 MB / 1.018 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06469/1.245, allocations: 33.46 MB / 1.051 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003655/1.249, allocations: 2.719 MB / 1.053 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001157/1.25, allocations: 396.5 kB / 1.054 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.252, allocations: 1.21 MB / 1.055 GB, free: 1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.603e-06/1.252, allocations: 3.938 kB / 1.055 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2399/1.492, allocations: 84.52 MB / 1.137 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.46, allocations: 15.94 kB / 1.137 GB, free: 12.89 MB / 0.8106 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_ACLineMatrix_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.720950760878623] Failed to read output from testmodel.py, exit status != 0: 15.581163712078705 15.606181164 15.306511419 Calling exit ...