Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001527/0.001527, allocations: 104 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.001612/0.001612, 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.363/1.363, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.002398/0.002398, allocations: 283 kB / 309.1 MB, free: 3.992 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.154/1.154, allocations: 180.9 MB / 0.5333 GB, free: 13.74 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.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.00278/0.00278, allocations: 100.6 kB / 0.7343 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.158, allocations: 95.34 MB / 0.8274 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04049/0.1985, allocations: 35.46 MB / 0.862 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.2175, allocations: 11.67 MB / 0.8734 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.22, allocations: 210.4 kB / 0.8736 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.2306, allocations: 4.316 MB / 0.8778 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.2358, allocations: 2.096 MB / 0.8799 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005646/0.2414, allocations: 2.411 MB / 0.8822 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009953/0.2514, allocations: 8.456 MB / 0.8905 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.2633, allocations: 8.416 MB / 0.8987 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.2692, allocations: 3.845 MB / 0.9024 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006825/0.2761, allocations: 4.424 MB / 0.9068 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001952/0.278, allocations: 0.7773 MB / 0.9075 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/0.2827, allocations: 2.067 MB / 0.9095 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003833/0.2865, allocations: 3.145 MB / 0.9126 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003762/0.2903, allocations: 3.397 MB / 0.9159 GB, free: 14.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.3025, allocations: 12.01 MB / 0.9277 GB, free: 2.797 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3025, allocations: 4 kB / 0.9277 GB, free: 2.793 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3025, allocations: 0 / 0.9277 GB, free: 2.793 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002085/0.3027, allocations: 0 / 0.9277 GB, free: 2.793 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01132/0.314, allocations: 5.95 MB / 0.9335 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3141, allocations: 8.031 kB / 0.9335 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001193/0.3153, allocations: 0.8051 MB / 0.9343 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005873/0.3212, allocations: 1.086 MB / 0.9353 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006996/0.3281, allocations: 3.467 MB / 0.9387 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003311/0.3285, allocations: 419.5 kB / 0.9391 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.3298, allocations: 0.5393 MB / 0.9396 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.3445, allocations: 9.079 MB / 0.9485 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.3446, allocations: 27.83 kB / 0.9485 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005602/0.3452, allocations: 240 kB / 0.9488 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000365/0.3455, allocations: 346.8 kB / 0.9491 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.3567, allocations: 6.83 MB / 0.9558 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.359/0.7157, allocations: 39.86 MB / 0.9947 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.719, allocations: 2.902 MB / 0.9975 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.7212, allocations: 1.783 MB / 0.9993 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.545e-05/0.7213, allocations: 19.7 kB / 0.9993 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.7213, allocations: 55.34 kB / 0.9993 GB, free: 131 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.366e-06/0.7213, allocations: 0 / 0.9993 GB, free: 131 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02355/0.7449, allocations: 9.999 MB / 1.009 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.7449, allocations: 71.28 kB / 1.009 GB, free: 129 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.7466, allocations: 1.524 MB / 1.011 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.992e-05/0.7467, allocations: 55.48 kB / 1.011 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008617/0.7476, allocations: 2.327 MB / 1.013 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.7479, allocations: 0.6656 MB / 1.014 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005192/0.7484, allocations: 405.9 kB / 1.014 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.7485, allocations: 302.6 kB / 1.014 GB, free: 126 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.7497, allocations: 1.177 MB / 1.015 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.7512, allocations: 1.885 MB / 1.017 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.754, allocations: 3.373 MB / 1.021 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.754, allocations: 11.88 kB / 1.021 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005795/0.7598, allocations: 4.531 MB / 1.025 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.7598, allocations: 14.91 kB / 1.025 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.7599, allocations: 21.91 kB / 1.025 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.763, allocations: 1.584 MB / 1.027 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.7639, allocations: 353.4 kB / 1.027 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/0.7809, allocations: 18.62 MB / 1.045 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.7825, allocations: 112.8 kB / 1.045 GB, free: 105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.7826, allocations: 99.98 kB / 1.045 GB, free: 104.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002452/0.7851, allocations: 1.887 MB / 1.047 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.7854, allocations: 238.5 kB / 1.047 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/0.7906, allocations: 4.039 MB / 1.051 GB, free: 98.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.7906, allocations: 20 kB / 1.051 GB, free: 98.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.7906, allocations: 19.94 kB / 1.051 GB, free: 98.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.7907, allocations: 11.95 kB / 1.051 GB, free: 98.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.8021, allocations: 9.42 MB / 1.061 GB, free: 89.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.8021, allocations: 4 kB / 1.061 GB, free: 89.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/0.8028, allocations: 181.4 kB / 1.061 GB, free: 88.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/0.8057, allocations: 1.361 MB / 1.062 GB, free: 87.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.757e-05/0.8058, allocations: 32 kB / 1.062 GB, free: 87.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.8209, allocations: 17.38 MB / 1.079 GB, free: 69.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.821, allocations: 8 kB / 1.079 GB, free: 69.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005081/0.826, allocations: 4.028 MB / 1.083 GB, free: 65.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/0.8268, allocations: 0.5385 MB / 1.084 GB, free: 64.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.827, allocations: 36 kB / 1.084 GB, free: 64.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.8278, allocations: 87.83 kB / 1.084 GB, free: 64.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/0.8281, allocations: 169.7 kB / 1.084 GB, free: 64.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/0.8282, allocations: 48 kB / 1.084 GB, free: 64.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000954/0.8292, allocations: 1.005 MB / 1.085 GB, free: 63.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8292, allocations: 0 / 1.085 GB, free: 63.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002587/0.8318, allocations: 0.9844 MB / 1.086 GB, free: 62.51 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004977/0.8367, allocations: 4.637 MB / 1.09 GB, free: 57.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005084/0.8418, allocations: 4.168 MB / 1.094 GB, free: 53.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.8418, allocations: 1 kB / 1.094 GB, free: 53.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.8449, allocations: 2.573 MB / 1.097 GB, free: 50.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.8479, allocations: 0.7984 MB / 1.098 GB, free: 50.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/0.8794, allocations: 26.89 MB / 1.124 GB, free: 22.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.8822, allocations: 3.569 MB / 1.127 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001038/0.8832, allocations: 463.9 kB / 1.128 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/0.8846, allocations: 1.784 MB / 1.13 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/0.8846, allocations: 4 kB / 1.13 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1256/1.01, allocations: 74.49 MB / 1.202 GB, free: 6.645 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.98, allocations: 4.062 kB / 1.202 GB, free: 6.641 MB / 0.795 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.952059613075107] Failed to read output from testmodel.py, exit status != 0: 14.097554896958172 14.111403735 13.805970371 Calling exit ...