Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001384/0.001384, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001897/0.001897, allocations: 219.4 kB / 23.04 MB, free: 5.078 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8 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.002499/0.002499, allocations: 284.4 kB / 313.5 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.224/1.224, allocations: 180.6 MB / 0.5377 GB, free: 13 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_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.00279/0.00279, allocations: 98.27 kB / 0.7404 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1808, allocations: 95.38 MB / 0.8335 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04269/0.2234, allocations: 34.28 MB / 0.867 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.2429, allocations: 10.68 MB / 0.8774 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.2459, allocations: 190.6 kB / 0.8776 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.2565, allocations: 3.894 MB / 0.8814 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006234/0.2628, allocations: 1.956 MB / 0.8833 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.269, allocations: 2.192 MB / 0.8855 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.28, allocations: 7.33 MB / 0.8926 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0084/0.2884, allocations: 5.154 MB / 0.8977 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005626/0.294, allocations: 3.264 MB / 0.9008 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00598/0.3, allocations: 3.684 MB / 0.9044 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.3011, allocations: 0.6484 MB / 0.9051 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.3046, allocations: 1.802 MB / 0.9068 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002994/0.3076, allocations: 2.611 MB / 0.9094 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.3114, allocations: 2.894 MB / 0.9122 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.3243, allocations: 10.14 MB / 0.9221 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3243, allocations: 0 / 0.9221 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3243, allocations: 0 / 0.9221 GB, free: 13.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003118/0.3246, allocations: 4 kB / 0.9221 GB, free: 13.52 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01182/0.3364, allocations: 5.048 MB / 0.927 GB, free: 8.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3365, allocations: 13.94 kB / 0.9271 GB, free: 8.398 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001515/0.3366, allocations: 129.5 kB / 0.9272 GB, free: 8.27 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00111/0.3377, allocations: 0.6781 MB / 0.9278 GB, free: 7.582 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.343, allocations: 0.9774 MB / 0.9288 GB, free: 6.602 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006016/0.349, allocations: 2.999 MB / 0.9317 GB, free: 3.531 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.3493, allocations: 349.6 kB / 0.9321 GB, free: 3.188 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008123/0.3501, allocations: 464.3 kB / 0.9325 GB, free: 2.734 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.3635, allocations: 7.667 MB / 0.94 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.3636, allocations: 23.78 kB / 0.94 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004948/0.3641, allocations: 208 kB / 0.9402 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000372/0.3645, allocations: 316.9 kB / 0.9405 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.3756, allocations: 5.702 MB / 0.9461 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04435/0.4199, allocations: 34.57 MB / 0.9798 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.4227, allocations: 1.553 MB / 0.9814 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.4245, allocations: 1.124 MB / 0.9825 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.463e-05/0.4246, allocations: 17.3 kB / 0.9825 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/0.4247, allocations: 47.88 kB / 0.9825 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 4.188e-06/0.4247, allocations: 0 / 0.9825 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01497/0.4397, allocations: 6.211 MB / 0.9886 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.4397, allocations: 72.66 kB / 0.9887 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/0.4422, allocations: 1.484 MB / 0.9901 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.4423, allocations: 45.7 kB / 0.9901 GB, free: 4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.4439, allocations: 2.073 MB / 0.9922 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.4444, allocations: 0.4957 MB / 0.9927 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005751/0.445, allocations: 359.4 kB / 0.993 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4452, allocations: 301.1 kB / 0.9933 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3652/0.8104, allocations: 0.9157 MB / 0.9942 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.8123, allocations: 1.594 MB / 0.9957 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.8161, allocations: 2.732 MB / 0.9984 GB, free: 144.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.8161, allocations: 10.88 kB / 0.9984 GB, free: 144.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005792/0.8219, allocations: 3.511 MB / 1.002 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.8219, allocations: 14.42 kB / 1.002 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.822, allocations: 23.62 kB / 1.002 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.8244, allocations: 0.8947 MB / 1.003 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.8255, allocations: 353.2 kB / 1.003 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.8442, allocations: 21.89 MB / 1.024 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.846, allocations: 104.4 kB / 1.025 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.8462, allocations: 85.12 kB / 1.025 GB, free: 124.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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002186/0.8483, allocations: 1.611 MB / 1.026 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/0.8487, allocations: 212 kB / 1.026 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/0.8533, allocations: 2.962 MB / 1.029 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.8533, allocations: 15.84 kB / 1.029 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.8533, allocations: 11.75 kB / 1.029 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.8534, allocations: 11.34 kB / 1.029 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/0.8627, allocations: 7.291 MB / 1.036 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.8627, allocations: 3.969 kB / 1.036 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/0.8634, allocations: 179 kB / 1.037 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/0.8655, allocations: 0.832 MB / 1.037 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.051e-05/0.8656, allocations: 26.19 kB / 1.037 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.8795, allocations: 20.73 MB / 1.058 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.8796, allocations: 11.67 kB / 1.058 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/0.8838, allocations: 3.016 MB / 1.061 GB, free: 98.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008865/0.8847, allocations: 396.8 kB / 1.061 GB, free: 97.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.885, allocations: 32 kB / 1.061 GB, free: 97.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/0.8858, allocations: 71.91 kB / 1.061 GB, free: 97.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.8861, allocations: 134.1 kB / 1.061 GB, free: 97.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.8861, allocations: 36 kB / 1.061 GB, free: 97.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001032/0.8872, allocations: 0.9717 MB / 1.062 GB, free: 96.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8872, allocations: 0 / 1.062 GB, free: 96.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002606/0.8898, allocations: 0.7891 MB / 1.063 GB, free: 95.66 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00411/0.8939, allocations: 3.607 MB / 1.067 GB, free: 91.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004758/0.8986, allocations: 3.913 MB / 1.07 GB, free: 87.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.8987, allocations: 5 kB / 1.07 GB, free: 87.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/0.9016, allocations: 2.665 MB / 1.073 GB, free: 85.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.9046, allocations: 0.7381 MB / 1.074 GB, free: 84.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02751/0.9321, allocations: 22.52 MB / 1.096 GB, free: 60.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/0.9347, allocations: 3.109 MB / 1.099 GB, free: 57.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001088/0.9357, allocations: 453.9 kB / 1.099 GB, free: 57.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/0.937, allocations: 1.542 MB / 1.101 GB, free: 55.71 MB / 0.7325 GB Notification: Performance of SimCode: time 1.213e-06/0.937, allocations: 0 / 1.101 GB, free: 55.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.056, allocations: 63.54 MB / 1.163 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/16.19, allocations: 7.719 kB / 1.163 GB, free: 8.855 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.86840741301421] Failed to read output from testmodel.py, exit status != 0: 16.39732356800232 16.423094794 16.09358944 Calling exit ...