Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001345/0.001345, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001514/0.001514, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002523/0.002523, allocations: 291.5 kB / 312.7 MB, free: 2.891 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.217/1.217, allocations: 180.6 MB / 0.5369 GB, free: 12.9 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002861/0.002861, allocations: 102 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1597, allocations: 95.39 MB / 0.8328 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02885/0.1886, allocations: 23.62 MB / 0.8558 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.2004, allocations: 6.439 MB / 0.8621 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.2025, allocations: 123.1 kB / 0.8622 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004734/0.2072, allocations: 1.61 MB / 0.8638 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.2118, allocations: 1.727 MB / 0.8655 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003569/0.2154, allocations: 1.4 MB / 0.8669 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007846/0.2233, allocations: 5.932 MB / 0.8726 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005051/0.2283, allocations: 3.232 MB / 0.8758 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/0.2323, allocations: 2.477 MB / 0.8782 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.2374, allocations: 3.065 MB / 0.8812 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.2387, allocations: 456 kB / 0.8817 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.2417, allocations: 1.119 MB / 0.8827 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003356/0.245, allocations: 2.085 MB / 0.8848 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003669/0.2487, allocations: 2.167 MB / 0.8869 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009147/0.2578, allocations: 7.32 MB / 0.894 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2579, allocations: 0 / 0.894 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2579, allocations: 0 / 0.894 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001905/0.258, allocations: 0 / 0.894 GB, free: 9.582 MB / 0.6387 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.009884/0.2679, allocations: 3.838 MB / 0.8978 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/0.268, allocations: 9.938 kB / 0.8978 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001454/0.2694, allocations: 0.4976 MB / 0.8983 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.2799, allocations: 1.235 MB / 0.8995 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007743/0.2876, allocations: 2.297 MB / 0.9017 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/0.2879, allocations: 246.4 kB / 0.902 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/0.2892, allocations: 308 kB / 0.9023 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.3057, allocations: 6.216 MB / 0.9083 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.3058, allocations: 15.83 kB / 0.9084 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007091/0.3065, allocations: 147.9 kB / 0.9085 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007584/0.3073, allocations: 406.3 kB / 0.9089 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/0.3209, allocations: 4.662 MB / 0.9134 GB, free: 5.352 MB / 0.6544 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.04395/0.3648, allocations: 28.75 MB / 0.9415 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.3671, allocations: 1.365 MB / 0.9428 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.3691, allocations: 1.44 MB / 0.9443 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.3693, allocations: 13 kB / 0.9443 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.3693, allocations: 51.5 kB / 0.9443 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 3.106e-06/0.3693, allocations: 0 / 0.9443 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=179): time 0.136/0.5053, allocations: 37.06 MB / 0.9805 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.5054, allocations: 77.39 kB / 0.9806 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.5075, allocations: 1.427 MB / 0.982 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002801/0.5078, allocations: 57.64 kB / 0.982 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.5091, allocations: 1.583 MB / 0.9836 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00075/0.5098, allocations: 0.6429 MB / 0.9842 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007433/0.5106, allocations: 379.5 kB / 0.9846 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5107, allocations: 305.1 kB / 0.9849 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/0.5135, allocations: 1.788 MB / 0.9866 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003241/0.5168, allocations: 2.35 MB / 0.9889 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006232/0.523, allocations: 4.387 MB / 0.9932 GB, free: 340 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.523, allocations: 8 kB / 0.9932 GB, free: 332 kB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.3741/0.8971, allocations: 8.423 MB / 1.001 GB, free: 147.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.8972, allocations: 13.81 kB / 1.001 GB, free: 147.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.8972, allocations: 15.84 kB / 1.001 GB, free: 147.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/0.911, allocations: 4.641 MB / 1.006 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.9122, allocations: 299.6 kB / 1.006 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0375/0.9497, allocations: 32.02 MB / 1.038 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.9517, allocations: 147.8 kB / 1.038 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.9519, allocations: 84 kB / 1.038 GB, free: 126.5 MB / 0.7325 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.001799/0.9537, allocations: 1.331 MB / 1.039 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/0.9541, allocations: 206.7 kB / 1.039 GB, free: 125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.968, allocations: 8.285 MB / 1.047 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.968, allocations: 23.94 kB / 1.047 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.376e-05/0.9681, allocations: 24 kB / 1.047 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.9681, allocations: 7.969 kB / 1.047 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/0.9882, allocations: 12.68 MB / 1.06 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.9882, allocations: 4 kB / 1.06 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/0.9889, allocations: 163.7 kB / 1.06 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01203/1.001, allocations: 4.493 MB / 1.064 GB, free: 99.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/1.001, allocations: 40 kB / 1.064 GB, free: 99.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03524/1.036, allocations: 31.61 MB / 1.095 GB, free: 66.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.036, allocations: 13.53 kB / 1.095 GB, free: 66.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/1.05, allocations: 8.101 MB / 1.103 GB, free: 58.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/1.051, allocations: 0.5492 MB / 1.104 GB, free: 58.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/1.052, allocations: 47.88 kB / 1.104 GB, free: 58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.053, allocations: 135.8 kB / 1.104 GB, free: 57.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006456/1.054, allocations: 176.9 kB / 1.104 GB, free: 57.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.054, allocations: 52 kB / 1.104 GB, free: 57.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009588/1.055, allocations: 0.9588 MB / 1.105 GB, free: 56.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.055, allocations: 0 / 1.105 GB, free: 56.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002622/1.057, allocations: 1.121 MB / 1.106 GB, free: 55.57 MB / 0.7325 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.01346/1.071, allocations: 8.697 MB / 1.115 GB, free: 46.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.081, allocations: 6.306 MB / 1.121 GB, free: 40.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.081, allocations: 4 kB / 1.121 GB, free: 40.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007422/1.088, allocations: 4.186 MB / 1.125 GB, free: 36.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/1.091, allocations: 0.5357 MB / 1.125 GB, free: 35.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04829/1.139, allocations: 33.54 MB / 1.158 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/1.142, allocations: 2.727 MB / 1.161 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001067/1.143, allocations: 392.5 kB / 1.161 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/1.144, allocations: 1.21 MB / 1.162 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of SimCode: time 8.41e-07/1.144, allocations: 0 / 1.162 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.17/1.314, allocations: 86.62 MB / 1.247 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.93, allocations: 10.52 kB / 1.247 GB, free: 6.645 MB / 0.8262 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.159598080997966] Failed to read output from testmodel.py, exit status != 0: 16.072721927001112 16.095571676 15.833371888 Calling exit ...