Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001541/0.001541, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001504/0.001504, allocations: 211 kB / 22.24 MB, free: 4.855 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.785 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.002595/0.002595, allocations: 283.7 kB / 312.7 MB, free: 2.586 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.221/1.221, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.003/0.003, allocations: 112.9 kB / 0.7395 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1595, allocations: 95.38 MB / 0.8327 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01283/0.1723, allocations: 9.635 MB / 0.8421 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00556/0.1779, allocations: 3.155 MB / 0.8451 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.1783, allocations: 47.62 kB / 0.8452 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.1799, allocations: 0.5994 MB / 0.8458 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.1813, allocations: 0.7856 MB / 0.8465 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1827, allocations: 0.7428 MB / 0.8473 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.1859, allocations: 2.996 MB / 0.8502 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.1878, allocations: 1.404 MB / 0.8516 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.1894, allocations: 1.289 MB / 0.8528 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.1916, allocations: 1.632 MB / 0.8544 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.1919, allocations: 236 kB / 0.8546 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008896/0.1928, allocations: 491.4 kB / 0.8551 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.1939, allocations: 1.095 MB / 0.8562 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009995/0.1949, allocations: 0.9143 MB / 0.8571 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.1985, allocations: 3.715 MB / 0.8607 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1985, allocations: 0 / 0.8607 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1985, allocations: 4 kB / 0.8607 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.526e-05/0.1985, allocations: 0 / 0.8607 GB, free: 11.32 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004013/0.2026, allocations: 2.119 MB / 0.8628 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2026, allocations: 8.75 kB / 0.8628 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003637/0.203, allocations: 261.2 kB / 0.863 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008795/0.2118, allocations: 1.322 MB / 0.8643 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.2148, allocations: 1.258 MB / 0.8656 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.2149, allocations: 115.4 kB / 0.8657 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2152, allocations: 144.3 kB / 0.8658 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/0.2206, allocations: 3.527 MB / 0.8692 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.2206, allocations: 3.938 kB / 0.8693 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.2209, allocations: 63.97 kB / 0.8693 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002681/0.2211, allocations: 211.1 kB / 0.8695 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005134/0.2263, allocations: 3.116 MB / 0.8726 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.2435, allocations: 10.07 MB / 0.8824 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.2461, allocations: 1.615 MB / 0.884 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.2481, allocations: 1.331 MB / 0.8853 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-05/0.2482, allocations: 13 kB / 0.8853 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2482, allocations: 47.5 kB / 0.8853 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 3.036e-06/0.2482, allocations: 0 / 0.8853 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183): time 0.1544/0.4026, allocations: 36.18 MB / 0.9207 GB, free: 13.46 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.4027, allocations: 69.41 kB / 0.9207 GB, free: 13.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.4044, allocations: 1.077 MB / 0.9218 GB, free: 12.28 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002633/0.4047, allocations: 53.7 kB / 0.9218 GB, free: 12.22 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.4054, allocations: 0.8132 MB / 0.9226 GB, free: 11.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007013/0.4061, allocations: 0.6506 MB / 0.9233 GB, free: 10.74 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007996/0.4069, allocations: 363.5 kB / 0.9236 GB, free: 10.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4071, allocations: 305.1 kB / 0.9239 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/0.4101, allocations: 1.932 MB / 0.9258 GB, free: 8.145 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/0.4134, allocations: 2.285 MB / 0.928 GB, free: 5.734 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006524/0.42, allocations: 4.394 MB / 0.9323 GB, free: 1.219 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.42, allocations: 4 kB / 0.9323 GB, free: 1.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02219/0.4422, allocations: 8.865 MB / 0.941 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.4422, allocations: 12.61 kB / 0.941 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.4422, allocations: 12 kB / 0.941 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01803/0.4602, allocations: 4.978 MB / 0.9459 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.4611, allocations: 187.7 kB / 0.946 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4121/0.8733, allocations: 37.99 MB / 0.9831 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.8752, allocations: 103.8 kB / 0.9832 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.8755, allocations: 69.47 kB / 0.9833 GB, free: 131.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.8767, allocations: 0.8048 MB / 0.9841 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.877, allocations: 148.2 kB / 0.9842 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/0.8964, allocations: 8.735 MB / 0.9928 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.8964, allocations: 20.66 kB / 0.9928 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-05/0.8965, allocations: 29.69 kB / 0.9928 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.8965, allocations: 15.52 kB / 0.9928 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02537/0.9219, allocations: 12.66 MB / 1.005 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.9219, allocations: 3.469 kB / 1.005 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.9224, allocations: 122.4 kB / 1.005 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01525/0.9376, allocations: 4.82 MB / 1.01 GB, free: 124.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002771/0.9379, allocations: 35.69 kB / 1.01 GB, free: 124.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.044/0.9819, allocations: 35.92 MB / 1.045 GB, free: 91.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9819, allocations: 11.94 kB / 1.045 GB, free: 91.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/0.9987, allocations: 8.448 MB / 1.053 GB, free: 82.96 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1, allocations: 0.5711 MB / 1.054 GB, free: 82.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/1.001, allocations: 39.95 kB / 1.054 GB, free: 82.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.002, allocations: 96.69 kB / 1.054 GB, free: 82.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006673/1.002, allocations: 168.2 kB / 1.054 GB, free: 82.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.003, allocations: 48 kB / 1.054 GB, free: 82.05 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007479/1.003, allocations: 0.7421 MB / 1.055 GB, free: 81.29 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/1.003, allocations: 0 / 1.055 GB, free: 81.29 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002421/1.006, allocations: 1.008 MB / 1.056 GB, free: 80.29 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01675/1.022, allocations: 9.033 MB / 1.065 GB, free: 71.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008079/1.031, allocations: 5.748 MB / 1.07 GB, free: 65.36 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.031, allocations: 1.594 kB / 1.07 GB, free: 65.36 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006668/1.037, allocations: 3.775 MB / 1.074 GB, free: 61.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.039, allocations: 246.7 kB / 1.074 GB, free: 61.33 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04807/1.087, allocations: 30.84 MB / 1.104 GB, free: 29.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.088, allocations: 1.271 MB / 1.106 GB, free: 28.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00072/1.089, allocations: 354.3 kB / 1.106 GB, free: 28.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/1.089, allocations: 0.6047 MB / 1.107 GB, free: 27.73 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/1.089, allocations: 0 / 1.107 GB, free: 27.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/1.221, allocations: 80.68 MB / 1.185 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.47, allocations: 11.8 kB / 1.185 GB, free: 11.16 MB / 0.7794 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.78424279484898] Failed to read output from testmodel.py, exit status != 0: 14.61874201381579 14.642523803 14.43975292 Calling exit ...