Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001346/0.001346, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001574/0.001574, allocations: 216.8 kB / 23.03 MB, free: 4.949 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002525/0.002525, allocations: 305.5 kB / 313.5 MB, free: 2.621 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.226/1.226, allocations: 180.6 MB / 0.5377 GB, free: 14.65 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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.002816/0.002816, allocations: 95.55 kB / 0.7403 GB, free: 28.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 95.39 MB / 0.8334 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04021/0.2073, allocations: 31.66 MB / 0.8643 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0256/0.2328, allocations: 14.43 MB / 0.8784 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00336/0.2362, allocations: 206.4 kB / 0.8786 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.2465, allocations: 3.656 MB / 0.8822 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009591/0.2561, allocations: 2.984 MB / 0.8851 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007082/0.2632, allocations: 2.343 MB / 0.8874 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01331/0.2765, allocations: 8.804 MB / 0.896 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.2874, allocations: 5.549 MB / 0.9014 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008062/0.2955, allocations: 4.086 MB / 0.9054 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007568/0.303, allocations: 4.264 MB / 0.9096 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00249/0.3055, allocations: 0.7148 MB / 0.9103 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/0.3104, allocations: 1.619 MB / 0.9118 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00501/0.3155, allocations: 2.907 MB / 0.9147 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007072/0.3225, allocations: 2.755 MB / 0.9174 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.341, allocations: 11.28 MB / 0.9284 GB, free: 6.75 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/0.341, allocations: 0 / 0.9284 GB, free: 6.75 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.006e-06/0.341, allocations: 0 / 0.9284 GB, free: 6.75 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004508/0.3414, allocations: 0 / 0.9284 GB, free: 6.75 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01664/0.3581, allocations: 6.049 MB / 0.9343 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3581, allocations: 13.34 kB / 0.9343 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001575/0.3583, allocations: 134.2 kB / 0.9344 GB, free: 500 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002268/0.3606, allocations: 0.7271 MB / 0.9351 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008299/0.3688, allocations: 1.16 MB / 0.9363 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008988/0.3778, allocations: 3.481 MB / 0.9397 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/0.3782, allocations: 374.2 kB / 0.94 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.38, allocations: 499.9 kB / 0.9405 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.3982, allocations: 8.862 MB / 0.9492 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.3983, allocations: 23.83 kB / 0.9492 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000617/0.3989, allocations: 216 kB / 0.9494 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/0.4, allocations: 437.6 kB / 0.9498 GB, free: 152 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.4116, allocations: 6.085 MB / 0.9558 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/0.4492, allocations: 22.05 MB / 0.9773 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.4529, allocations: 1.909 MB / 0.9792 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3756/0.8285, allocations: 1.74 MB / 0.9809 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.8287, allocations: 18.06 kB / 0.9809 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.8287, allocations: 59 kB / 0.9809 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 4.639e-06/0.8287, allocations: 4.219 kB / 0.9809 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.1412/0.97, allocations: 38.7 MB / 1.019 GB, free: 115 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.97, allocations: 77.58 kB / 1.019 GB, free: 114.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.9724, allocations: 2.286 MB / 1.021 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002812/0.9727, allocations: 77.7 kB / 1.021 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/0.9736, allocations: 2.335 MB / 1.023 GB, free: 110.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006145/0.9742, allocations: 0.9792 MB / 1.024 GB, free: 109.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008152/0.975, allocations: 0.5063 MB / 1.025 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.9751, allocations: 305.1 kB / 1.025 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/0.9773, allocations: 1.973 MB / 1.027 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.9797, allocations: 2.602 MB / 1.03 GB, free: 104 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/0.9845, allocations: 4.933 MB / 1.034 GB, free: 98.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.9845, allocations: 4 kB / 1.034 GB, free: 98.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01217/0.9967, allocations: 7.651 MB / 1.042 GB, free: 91.12 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.9967, allocations: 12 kB / 1.042 GB, free: 91.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.9967, allocations: 23.94 kB / 1.042 GB, free: 91.08 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008417/1.005, allocations: 3.212 MB / 1.045 GB, free: 87.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.007, allocations: 407.1 kB / 1.045 GB, free: 87.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03525/1.042, allocations: 32.75 MB / 1.077 GB, free: 54.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/1.045, allocations: 159.8 kB / 1.078 GB, free: 53.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/1.045, allocations: 116 kB / 1.078 GB, free: 53.77 MB / 0.7169 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002343/1.047, allocations: 1.798 MB / 1.079 GB, free: 51.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/1.048, allocations: 345.8 kB / 1.08 GB, free: 51.62 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/1.06, allocations: 7.243 MB / 1.087 GB, free: 44.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/1.06, allocations: 24 kB / 1.087 GB, free: 44.28 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/1.06, allocations: 32 kB / 1.087 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.698e-05/1.06, allocations: 16.66 kB / 1.087 GB, free: 44.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.08, allocations: 12.15 MB / 1.099 GB, free: 31.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/1.08, allocations: 4 kB / 1.099 GB, free: 31.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/1.081, allocations: 235.4 kB / 1.099 GB, free: 31.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007686/1.089, allocations: 2.848 MB / 1.102 GB, free: 28.87 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003342/1.089, allocations: 52 kB / 1.102 GB, free: 28.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03577/1.125, allocations: 31.54 MB / 1.133 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/1.125, allocations: 12.06 kB / 1.133 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.139, allocations: 6.786 MB / 1.139 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/1.141, allocations: 0.7271 MB / 1.14 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008372/1.142, allocations: 59.94 kB / 1.14 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/1.144, allocations: 171.8 kB / 1.14 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009742/1.145, allocations: 265.4 kB / 1.14 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/1.146, allocations: 72 kB / 1.141 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002717/1.148, allocations: 1.521 MB / 1.142 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.148, allocations: 0 / 1.142 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005092/1.153, allocations: 1.371 MB / 1.143 GB, free: 1.41 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01455/1.168, allocations: 7.411 MB / 1.151 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.181, allocations: 6.561 MB / 1.157 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/1.181, allocations: 4.125 kB / 1.157 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008715/1.19, allocations: 4.253 MB / 1.161 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005107/1.195, allocations: 1.127 MB / 1.162 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07913/1.274, allocations: 39.05 MB / 1.2 GB, free: 5.605 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005056/1.279, allocations: 3.112 MB / 1.203 GB, free: 2.457 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002036/1.281, allocations: 0.5595 MB / 1.204 GB, free: 1.895 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00298/1.284, allocations: 1.979 MB / 1.206 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of SimCode: time 1.212e-06/1.284, allocations: 0 / 1.206 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2435/1.528, allocations: 119.7 MB / 1.323 GB, free: 9.836 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/20.45, allocations: 11.94 kB / 1.323 GB, free: 9.824 MB / 0.92 GB " [Timeout remaining time 639] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.743392640026286] Failed to read output from testmodel.py, exit status != 0: 20.698454049997963 21.061362719 20.717260905 Calling exit ...