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.001247/0.001247, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001422/0.001422, allocations: 218.3 kB / 22.26 MB, free: 5.082 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 8.02 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.002426/0.002426, allocations: 289.8 kB / 312.7 MB, free: 2.824 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.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 13.08 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_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.002906/0.002906, allocations: 95.17 kB / 0.7396 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1775, allocations: 95.39 MB / 0.8328 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02984/0.2073, allocations: 24.46 MB / 0.8566 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.2198, allocations: 6.706 MB / 0.8632 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.222, allocations: 127.1 kB / 0.8633 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004579/0.2265, allocations: 1.557 MB / 0.8648 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005046/0.2316, allocations: 1.937 MB / 0.8667 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.2359, allocations: 1.501 MB / 0.8682 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009288/0.2452, allocations: 6.905 MB / 0.8749 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007975/0.2531, allocations: 3.769 MB / 0.8786 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005316/0.2585, allocations: 2.91 MB / 0.8815 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00628/0.2647, allocations: 3.747 MB / 0.8851 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.2664, allocations: 0.5273 MB / 0.8856 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.2697, allocations: 1.194 MB / 0.8868 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003895/0.2735, allocations: 2.533 MB / 0.8893 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005093/0.2786, allocations: 2.532 MB / 0.8917 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.2903, allocations: 8.546 MB / 0.9001 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.2903, allocations: 4 kB / 0.9001 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2903, allocations: 0 / 0.9001 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003445/0.2906, allocations: 0 / 0.9001 GB, free: 3.363 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.01106/0.3017, allocations: 4.466 MB / 0.9044 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.3018, allocations: 13.34 kB / 0.9045 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001839/0.3036, allocations: 0.5753 MB / 0.905 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008829/0.3124, allocations: 1.699 MB / 0.9067 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007124/0.3196, allocations: 2.665 MB / 0.9093 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.3199, allocations: 271.7 kB / 0.9095 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.3214, allocations: 364.3 kB / 0.9099 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.337, allocations: 7.498 MB / 0.9172 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.3371, allocations: 7.938 kB / 0.9172 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009356/0.338, allocations: 163.9 kB / 0.9174 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006301/0.3386, allocations: 483.3 kB / 0.9178 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.3495, allocations: 5.705 MB / 0.9234 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03898/0.3885, allocations: 31.27 MB / 0.9539 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/0.3915, allocations: 2.023 MB / 0.9559 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.3947, allocations: 2.108 MB / 0.958 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.3949, allocations: 17.31 kB / 0.958 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.3949, allocations: 47.81 kB / 0.958 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.366e-06/0.3949, allocations: 4 kB / 0.958 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.599/0.9939, allocations: 76.71 MB / 1.033 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.994, allocations: 77.41 kB / 1.033 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.9956, allocations: 1.678 MB / 1.035 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.9959, allocations: 65.7 kB / 1.035 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.9965, allocations: 1.794 MB / 1.036 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005366/0.997, allocations: 0.893 MB / 1.037 GB, free: 129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007618/0.9978, allocations: 485.4 kB / 1.038 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.153e-05/0.9978, allocations: 305.1 kB / 1.038 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/1.001, allocations: 2.73 MB / 1.041 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/1.003, allocations: 3.336 MB / 1.044 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/1.009, allocations: 6.393 MB / 1.05 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/1.009, allocations: 8.484 kB / 1.05 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02475/1.034, allocations: 14.41 MB / 1.064 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.034, allocations: 12 kB / 1.064 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/1.034, allocations: 16 kB / 1.064 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02305/1.057, allocations: 9.248 MB / 1.073 GB, free: 91.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/1.058, allocations: 296 kB / 1.074 GB, free: 91.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05966/1.118, allocations: 51.78 MB / 1.124 GB, free: 38.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/1.12, allocations: 223.7 kB / 1.124 GB, free: 38.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/1.121, allocations: 104 kB / 1.125 GB, free: 38.46 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.002154/1.123, allocations: 1.576 MB / 1.126 GB, free: 36.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/1.123, allocations: 258.6 kB / 1.126 GB, free: 36.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02534/1.148, allocations: 14.48 MB / 1.141 GB, free: 22.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.148, allocations: 24.56 kB / 1.141 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.175e-05/1.149, allocations: 48 kB / 1.141 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-05/1.149, allocations: 13.77 kB / 1.141 GB, free: 22.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03253/1.181, allocations: 20.2 MB / 1.16 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.181, allocations: 8 kB / 1.16 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/1.182, allocations: 159.7 kB / 1.16 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02692/1.209, allocations: 9.01 MB / 1.169 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003878/1.209, allocations: 48 kB / 1.169 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08059/1.29, allocations: 51.36 MB / 1.219 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.29, allocations: 11.94 kB / 1.219 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03088/1.321, allocations: 14.09 MB / 1.233 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002542/1.323, allocations: 0.7792 MB / 1.234 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004821/1.324, allocations: 51.98 kB / 1.234 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.325, allocations: 207.7 kB / 1.234 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/1.327, allocations: 249.3 kB / 1.235 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/1.327, allocations: 68 kB / 1.235 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001637/1.328, allocations: 1.125 MB / 1.236 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.328, allocations: 0 / 1.236 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00456/1.333, allocations: 1.613 MB / 1.237 GB, free: 2.031 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.03233/1.365, allocations: 14.71 MB / 1.252 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02535/1.391, allocations: 10.21 MB / 1.262 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.391, allocations: 0 / 1.262 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01736/1.408, allocations: 7.004 MB / 1.268 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.411, allocations: 0.5571 MB / 1.269 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.102/1.513, allocations: 50.52 MB / 1.318 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004964/1.518, allocations: 3.224 MB / 1.321 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00113/1.519, allocations: 399.3 kB / 1.322 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.521, allocations: 1.468 MB / 1.323 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of SimCode: time 1.042e-06/1.521, allocations: 0 / 1.323 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.506/2.027, allocations: 124.7 MB / 1.445 GB, free: 252.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/17.68, allocations: 11.84 kB / 1.445 GB, free: 252.8 MB / 0.92 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 22.02261409512721] Failed to read output from testmodel.py, exit status != 0: 17.831484399037436 17.842821722 17.54984373 Calling exit ...