Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001232/0.001232, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.001331/0.001331, allocations: 212 kB / 19.43 MB, free: 3.637 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.362/1.362, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 282.4 kB / 309.1 MB, free: 3.988 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.152/1.152, allocations: 180.9 MB / 0.5333 GB, free: 14.02 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.002717/0.002717, allocations: 103.1 kB / 0.7343 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1536, allocations: 95.34 MB / 0.8274 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02725/0.1808, allocations: 23.79 MB / 0.8506 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1923, allocations: 6.586 MB / 0.857 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.1939, allocations: 131 kB / 0.8572 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.1976, allocations: 1.518 MB / 0.8586 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.202, allocations: 1.941 MB / 0.8605 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.2054, allocations: 1.458 MB / 0.862 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007649/0.2131, allocations: 6.9 MB / 0.8687 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007155/0.2202, allocations: 5.188 MB / 0.8738 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.2247, allocations: 2.909 MB / 0.8766 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005243/0.2299, allocations: 3.743 MB / 0.8803 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.2311, allocations: 0.5273 MB / 0.8808 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.2343, allocations: 1.198 MB / 0.8819 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.2375, allocations: 2.525 MB / 0.8844 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003468/0.241, allocations: 2.536 MB / 0.8869 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009167/0.2501, allocations: 8.546 MB / 0.8952 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2501, allocations: 0 / 0.8952 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2501, allocations: 0 / 0.8952 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001644/0.2503, allocations: 0 / 0.8952 GB, free: 4.121 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.00843/0.2587, allocations: 4.539 MB / 0.8997 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.2588, allocations: 11.97 kB / 0.8997 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008001/0.2596, allocations: 0.5792 MB / 0.9002 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008414/0.268, allocations: 1.707 MB / 0.9019 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.2728, allocations: 2.717 MB / 0.9046 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.273, allocations: 271.7 kB / 0.9048 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006361/0.2737, allocations: 360.3 kB / 0.9052 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.2853, allocations: 7.491 MB / 0.9125 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.533e-05/0.2854, allocations: 15.88 kB / 0.9125 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004403/0.2858, allocations: 159.9 kB / 0.9126 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000588/0.2864, allocations: 487.3 kB / 0.9131 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009396/0.2958, allocations: 5.701 MB / 0.9187 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03597/0.3318, allocations: 31.53 MB / 0.9495 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.3347, allocations: 2.024 MB / 0.9514 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.3378, allocations: 2.115 MB / 0.9535 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.338, allocations: 13.31 kB / 0.9535 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.338, allocations: 51.88 kB / 0.9536 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.587e-06/0.338, allocations: 0 / 0.9536 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.6135/0.9515, allocations: 76.8 MB / 1.029 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.9516, allocations: 77.41 kB / 1.029 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.9533, allocations: 1.669 MB / 1.03 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.9536, allocations: 65.7 kB / 1.03 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000624/0.9543, allocations: 1.795 MB / 1.032 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/0.9549, allocations: 0.8905 MB / 1.033 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008563/0.9557, allocations: 493.3 kB / 1.033 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 2.996e-05/0.9557, allocations: 301.1 kB / 1.034 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/0.9585, allocations: 2.734 MB / 1.036 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.9614, allocations: 3.328 MB / 1.04 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/0.9673, allocations: 6.393 MB / 1.046 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.9673, allocations: 15.88 kB / 1.046 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02662/0.9939, allocations: 14.4 MB / 1.06 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.994, allocations: 12 kB / 1.06 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.994, allocations: 20 kB / 1.06 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02568/1.02, allocations: 9.245 MB / 1.069 GB, free: 92.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.021, allocations: 303.4 kB / 1.069 GB, free: 92.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06468/1.085, allocations: 52.4 MB / 1.12 GB, free: 38.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/1.088, allocations: 219.7 kB / 1.121 GB, free: 38.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.088, allocations: 100 kB / 1.121 GB, free: 38.55 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001885/1.09, allocations: 1.593 MB / 1.122 GB, free: 36.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004377/1.091, allocations: 254.6 kB / 1.123 GB, free: 36.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02788/1.119, allocations: 14.48 MB / 1.137 GB, free: 22.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/1.119, allocations: 24 kB / 1.137 GB, free: 22.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-05/1.119, allocations: 45.5 kB / 1.137 GB, free: 22.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.49e-05/1.119, allocations: 15.33 kB / 1.137 GB, free: 22.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03439/1.153, allocations: 20.23 MB / 1.157 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.153, allocations: 8 kB / 1.157 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/1.154, allocations: 169.2 kB / 1.157 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03013/1.184, allocations: 9.009 MB / 1.166 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/1.184, allocations: 48 kB / 1.166 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08285/1.267, allocations: 51.97 MB / 1.216 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.267, allocations: 9.562 kB / 1.216 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03217/1.299, allocations: 14.09 MB / 1.23 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/1.301, allocations: 0.8661 MB / 1.231 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/1.302, allocations: 48 kB / 1.231 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/1.304, allocations: 207.3 kB / 1.231 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/1.305, allocations: 241.5 kB / 1.231 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.305, allocations: 68 kB / 1.231 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001532/1.307, allocations: 1.121 MB / 1.233 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.1e-08/1.307, allocations: 3.75 kB / 1.233 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004309/1.311, allocations: 1.617 MB / 1.234 GB, free: 1.215 MB / 0.8106 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0325/1.343, allocations: 14.71 MB / 1.249 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02314/1.367, allocations: 10.2 MB / 1.258 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.367, allocations: 7.375 kB / 1.258 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01816/1.385, allocations: 7.007 MB / 1.265 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/1.388, allocations: 0.5596 MB / 1.266 GB, free: 492 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/1.489, allocations: 50.4 MB / 1.315 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003698/1.492, allocations: 3.22 MB / 1.318 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001028/1.493, allocations: 391.3 kB / 1.319 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.495, allocations: 1.467 MB / 1.32 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of SimCode: time 9.41e-07/1.495, allocations: 0 / 1.32 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4841/1.979, allocations: 121.8 MB / 1.439 GB, free: 225.1 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/15.78, allocations: 11.97 kB / 1.439 GB, free: 225.1 MB / 0.9044 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_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_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.73730665212497] Failed to read output from testmodel.py, exit status != 0: 15.905024521052837 15.914439306 15.662114534 Calling exit ...