Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001907/0.001907, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002285/0.002285, allocations: 217 kB / 23.04 MB, free: 5.074 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.00256/0.00256, allocations: 296.6 kB / 313.5 MB, free: 2.797 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.275/1.275, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.002884/0.002884, allocations: 102.4 kB / 0.7404 GB, free: 28.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1632, allocations: 95.38 MB / 0.8335 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03972/0.2029, allocations: 32.14 MB / 0.8649 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.2273, allocations: 14.01 MB / 0.8786 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.2301, allocations: 190.5 kB / 0.8788 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.008999/0.2391, allocations: 3.338 MB / 0.882 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00759/0.2467, allocations: 2.78 MB / 0.8847 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/0.2522, allocations: 2.066 MB / 0.8868 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.263, allocations: 7.644 MB / 0.8942 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009066/0.272, allocations: 4.646 MB / 0.8988 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006167/0.2782, allocations: 3.51 MB / 0.9022 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006382/0.2846, allocations: 3.574 MB / 0.9057 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.2865, allocations: 0.5938 MB / 0.9063 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005516/0.292, allocations: 1.525 MB / 0.9077 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005006/0.297, allocations: 2.427 MB / 0.9101 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007867/0.3049, allocations: 2.875 MB / 0.9129 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.3192, allocations: 9.5 MB / 0.9222 GB, free: 13.41 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3192, allocations: 0 / 0.9222 GB, free: 13.41 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3192, allocations: 0 / 0.9222 GB, free: 13.41 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002779/0.3194, allocations: 0 / 0.9222 GB, free: 13.41 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01388/0.3333, allocations: 5.192 MB / 0.9273 GB, free: 8.152 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3334, allocations: 13.94 kB / 0.9273 GB, free: 8.141 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001282/0.3335, allocations: 116.7 kB / 0.9274 GB, free: 8.023 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001327/0.3348, allocations: 0.6203 MB / 0.928 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/0.341, allocations: 1.016 MB / 0.929 GB, free: 6.371 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006998/0.348, allocations: 3.033 MB / 0.932 GB, free: 3.246 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.3483, allocations: 316.6 kB / 0.9323 GB, free: 2.934 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.3493, allocations: 419.9 kB / 0.9327 GB, free: 2.523 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.3635, allocations: 6.78 MB / 0.9393 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000187/0.3637, allocations: 27.81 kB / 0.9393 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006973/0.3644, allocations: 184 kB / 0.9395 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009936/0.3654, allocations: 372 kB / 0.9398 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.3768, allocations: 5.114 MB / 0.9448 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04069/0.4175, allocations: 30.26 MB / 0.9744 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.4197, allocations: 1.321 MB / 0.9757 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.4215, allocations: 1.25 MB / 0.9769 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.37e-05/0.4216, allocations: 13.31 kB / 0.9769 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.4217, allocations: 47.88 kB / 0.977 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 3.527e-06/0.4217, allocations: 0 / 0.977 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.4997/0.9214, allocations: 22.85 MB / 0.9993 GB, free: 147.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.9214, allocations: 72.41 kB / 0.9993 GB, free: 147.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/0.9248, allocations: 2.063 MB / 1.001 GB, free: 146.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/0.9251, allocations: 62.27 kB / 1.001 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.9264, allocations: 2.058 MB / 1.003 GB, free: 145.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006717/0.9271, allocations: 0.7164 MB / 1.004 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007045/0.9278, allocations: 409.6 kB / 1.005 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.9279, allocations: 302.2 kB / 1.005 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.9298, allocations: 1.434 MB / 1.006 GB, free: 143.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.9324, allocations: 2.017 MB / 1.008 GB, free: 142.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006809/0.9392, allocations: 3.692 MB / 1.012 GB, free: 140.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/0.9392, allocations: 7.297 kB / 1.012 GB, free: 140.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01171/0.9509, allocations: 5.598 MB / 1.017 GB, free: 137.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.9509, allocations: 15.53 kB / 1.017 GB, free: 137.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.951, allocations: 22 kB / 1.017 GB, free: 137.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006503/0.9575, allocations: 2.083 MB / 1.019 GB, free: 137.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.9592, allocations: 382.3 kB / 1.02 GB, free: 137.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02959/0.9888, allocations: 36.6 MB / 1.055 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.9916, allocations: 129.8 kB / 1.056 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.9919, allocations: 88.61 kB / 1.056 GB, free: 106.6 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002487/0.9944, allocations: 1.52 MB / 1.057 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/0.995, allocations: 294.2 kB / 1.057 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008671/1.004, allocations: 5.145 MB / 1.062 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.004, allocations: 20 kB / 1.062 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-05/1.004, allocations: 16 kB / 1.062 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/1.004, allocations: 15.95 kB / 1.062 GB, free: 99.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/1.019, allocations: 9.582 MB / 1.072 GB, free: 90.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/1.019, allocations: 8 kB / 1.072 GB, free: 90.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/1.02, allocations: 207.7 kB / 1.072 GB, free: 90.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005166/1.025, allocations: 1.843 MB / 1.074 GB, free: 88.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/1.025, allocations: 39.94 kB / 1.074 GB, free: 88.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02719/1.053, allocations: 35.64 MB / 1.109 GB, free: 50.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.053, allocations: 8 kB / 1.109 GB, free: 50.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007769/1.06, allocations: 4.855 MB / 1.113 GB, free: 45.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.062, allocations: 0.5527 MB / 1.114 GB, free: 44.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004501/1.062, allocations: 42.25 kB / 1.114 GB, free: 44.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.064, allocations: 132 kB / 1.114 GB, free: 44.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005436/1.064, allocations: 205.2 kB / 1.114 GB, free: 44.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/1.064, allocations: 60 kB / 1.114 GB, free: 44.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001517/1.066, allocations: 1.378 MB / 1.116 GB, free: 43.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.066, allocations: 0 / 1.116 GB, free: 43.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003706/1.07, allocations: 1.047 MB / 1.117 GB, free: 42.02 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007763/1.077, allocations: 5.467 MB / 1.122 GB, free: 36.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008389/1.086, allocations: 6.016 MB / 1.128 GB, free: 30.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.086, allocations: 4 kB / 1.128 GB, free: 30.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005577/1.091, allocations: 4.277 MB / 1.132 GB, free: 25.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/1.096, allocations: 0.9959 MB / 1.133 GB, free: 24.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04899/1.145, allocations: 30.76 MB / 1.163 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004095/1.149, allocations: 3.125 MB / 1.166 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001925/1.151, allocations: 0.5198 MB / 1.167 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.153, allocations: 1.675 MB / 1.168 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of SimCode: time 1.684e-06/1.153, allocations: 0 / 1.168 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2032/1.356, allocations: 91.03 MB / 1.257 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/18.7, allocations: 15.38 kB / 1.257 GB, free: 9.668 MB / 0.8419 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.696582586038858] Failed to read output from testmodel.py, exit status != 0: 18.932002302026376 18.966433629 18.640409842 Calling exit ...