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.001328/0.001328, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001557/0.001557, allocations: 213.8 kB / 23.04 MB, free: 5.07 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002597/0.002597, allocations: 281.4 kB / 313.5 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.285/1.285, allocations: 180.6 MB / 0.5377 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="cs",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="cs",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.002902/0.002902, allocations: 104 kB / 0.7404 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1615, allocations: 95.38 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03085/0.1923, allocations: 24.46 MB / 0.8574 GB, free: 100 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.2053, allocations: 6.706 MB / 0.8639 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.2078, allocations: 127.1 kB / 0.8641 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.2122, allocations: 1.554 MB / 0.8656 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.217, allocations: 1.945 MB / 0.8675 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.221, allocations: 1.506 MB / 0.869 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009005/0.23, allocations: 6.901 MB / 0.8757 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007276/0.2373, allocations: 3.769 MB / 0.8794 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004927/0.2422, allocations: 2.913 MB / 0.8822 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007022/0.2492, allocations: 3.739 MB / 0.8859 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001836/0.2511, allocations: 0.5273 MB / 0.8864 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/0.2546, allocations: 1.202 MB / 0.8876 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004194/0.2588, allocations: 2.521 MB / 0.89 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004865/0.2637, allocations: 2.54 MB / 0.8925 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.2742, allocations: 8.542 MB / 0.9008 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2742, allocations: 4 kB / 0.9008 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2742, allocations: 0 / 0.9008 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002492/0.2744, allocations: 0 / 0.9008 GB, free: 3.387 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.01047/0.2849, allocations: 4.468 MB / 0.9052 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2849, allocations: 13.94 kB / 0.9052 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001042/0.285, allocations: 99.55 kB / 0.9053 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009432/0.286, allocations: 0.5753 MB / 0.9059 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008876/0.2948, allocations: 1.699 MB / 0.9075 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006725/0.3016, allocations: 2.664 MB / 0.9101 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.3019, allocations: 279.7 kB / 0.9104 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.3032, allocations: 364.3 kB / 0.9108 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.3179, allocations: 7.49 MB / 0.9181 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/0.318, allocations: 11.88 kB / 0.9181 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000921/0.319, allocations: 159.9 kB / 0.9182 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006419/0.3196, allocations: 487.2 kB / 0.9187 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.3313, allocations: 5.701 MB / 0.9243 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/0.3738, allocations: 31.27 MB / 0.9548 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.3771, allocations: 2.025 MB / 0.9568 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.3805, allocations: 2.104 MB / 0.9588 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.3807, allocations: 17.31 kB / 0.9589 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.3808, allocations: 51.88 kB / 0.9589 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.186e-06/0.3808, allocations: 0 / 0.9589 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.6807/1.061, allocations: 76.71 MB / 1.034 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/1.062, allocations: 77.41 kB / 1.034 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/1.063, allocations: 1.678 MB / 1.036 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004209/1.064, allocations: 69.7 kB / 1.036 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000644/1.064, allocations: 1.793 MB / 1.037 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006258/1.065, allocations: 0.8934 MB / 1.038 GB, free: 129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009217/1.066, allocations: 485.4 kB / 1.039 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.34e-05/1.066, allocations: 309.1 kB / 1.039 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/1.069, allocations: 2.735 MB / 1.042 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/1.072, allocations: 3.328 MB / 1.045 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/1.079, allocations: 6.393 MB / 1.051 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.079, allocations: 8.969 kB / 1.051 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03242/1.111, allocations: 14.41 MB / 1.065 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/1.111, allocations: 12 kB / 1.065 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/1.111, allocations: 19.94 kB / 1.065 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04384/1.155, allocations: 9.244 MB / 1.074 GB, free: 91.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/1.157, allocations: 303.4 kB / 1.075 GB, free: 91.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08682/1.244, allocations: 51.79 MB / 1.125 GB, free: 38.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/1.247, allocations: 219.7 kB / 1.125 GB, free: 38.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/1.247, allocations: 100 kB / 1.125 GB, free: 38.47 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.002254/1.25, allocations: 1.583 MB / 1.127 GB, free: 36.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/1.25, allocations: 254.6 kB / 1.127 GB, free: 36.63 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02987/1.28, allocations: 14.48 MB / 1.141 GB, free: 22.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/1.28, allocations: 24 kB / 1.141 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000123/1.28, allocations: 46.06 kB / 1.141 GB, free: 22.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/1.28, allocations: 15.95 kB / 1.141 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03953/1.32, allocations: 20.21 MB / 1.161 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/1.32, allocations: 8 kB / 1.161 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/1.321, allocations: 161.3 kB / 1.161 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03198/1.353, allocations: 9.002 MB / 1.17 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005409/1.353, allocations: 48 kB / 1.17 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09124/1.444, allocations: 51.35 MB / 1.22 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/1.444, allocations: 11.94 kB / 1.22 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03545/1.48, allocations: 14.09 MB / 1.234 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002632/1.482, allocations: 0.7831 MB / 1.235 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/1.483, allocations: 48 kB / 1.235 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/1.486, allocations: 211.7 kB / 1.235 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001259/1.487, allocations: 245.4 kB / 1.235 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/1.487, allocations: 68 kB / 1.235 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001833/1.489, allocations: 1.121 MB / 1.237 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7e-08/1.489, allocations: 0 / 1.237 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004922/1.494, allocations: 1.617 MB / 1.238 GB, free: 2.043 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.03559/1.53, allocations: 14.71 MB / 1.252 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02612/1.556, allocations: 10.21 MB / 1.262 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.556, allocations: 0 / 1.262 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.02026/1.576, allocations: 7.002 MB / 1.269 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/1.58, allocations: 0.5695 MB / 1.27 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1117/1.692, allocations: 50.51 MB / 1.319 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004673/1.696, allocations: 3.228 MB / 1.322 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001197/1.698, allocations: 391.3 kB / 1.323 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/1.7, allocations: 1.464 MB / 1.324 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of SimCode: time 1.282e-06/1.7, allocations: 0 / 1.324 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5269/2.227, allocations: 124.7 MB / 1.446 GB, free: 253 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.98, allocations: 10.31 kB / 1.446 GB, free: 253 MB / 0.92 GB " [Timeout remaining time 641] (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: 23.822715527028777] Failed to read output from testmodel.py, exit status != 0: 19.198670145997312 19.217471715 18.939525535 Calling exit ...