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.00128/0.00128, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001427/0.001427, allocations: 213.4 kB / 23.03 MB, free: 4.926 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.00267/0.00267, allocations: 289.1 kB / 313.5 MB, free: 2.613 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.347/1.347, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 178] 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="cs",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="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.002823/0.002823, allocations: 102.8 kB / 0.7403 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1735, allocations: 95.37 MB / 0.8334 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01326/0.1868, allocations: 9.624 MB / 0.8428 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006362/0.1932, allocations: 3.155 MB / 0.8459 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000735/0.1939, allocations: 55.62 kB / 0.8459 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.1958, allocations: 0.5915 MB / 0.8465 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.1976, allocations: 0.7818 MB / 0.8473 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1993, allocations: 0.7389 MB / 0.848 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003358/0.2026, allocations: 2.992 MB / 0.8509 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.2046, allocations: 1.419 MB / 0.8523 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.2064, allocations: 1.293 MB / 0.8536 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.2088, allocations: 1.706 MB / 0.8552 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.2092, allocations: 236 kB / 0.8555 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009651/0.2102, allocations: 483.4 kB / 0.8559 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.2113, allocations: 1.103 MB / 0.857 GB, free: 100 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.2125, allocations: 0.9143 MB / 0.8579 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.2162, allocations: 3.714 MB / 0.8615 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.2163, allocations: 3.984 kB / 0.8615 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2163, allocations: 0 / 0.8615 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.194e-05/0.2163, allocations: 4 kB / 0.8615 GB, free: 11.45 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.004152/0.2205, allocations: 2.111 MB / 0.8636 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.2205, allocations: 8.75 kB / 0.8636 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.676e-05/0.2206, allocations: 43.2 kB / 0.8636 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003975/0.221, allocations: 257.2 kB / 0.8639 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008869/0.2299, allocations: 1.33 MB / 0.8652 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.2327, allocations: 1.258 MB / 0.8664 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.2328, allocations: 115.4 kB / 0.8665 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/0.2332, allocations: 152.3 kB / 0.8667 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005611/0.2388, allocations: 3.519 MB / 0.8701 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.2388, allocations: 4 kB / 0.8701 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.239, allocations: 63.97 kB / 0.8702 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002737/0.2393, allocations: 207.1 kB / 0.8704 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005194/0.2445, allocations: 3.131 MB / 0.8734 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/0.2615, allocations: 10.07 MB / 0.8833 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.2641, allocations: 1.607 MB / 0.8848 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.266, allocations: 1.335 MB / 0.8861 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.168e-05/0.2661, allocations: 13 kB / 0.8862 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.2662, allocations: 47.56 kB / 0.8862 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 2.875e-06/0.2662, allocations: 0 / 0.8862 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183): time 0.1412/0.4074, allocations: 36.18 MB / 0.9215 GB, free: 13.54 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.4074, allocations: 69.41 kB / 0.9216 GB, free: 13.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.4091, allocations: 1.058 MB / 0.9226 GB, free: 12.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.4094, allocations: 49.7 kB / 0.9227 GB, free: 12.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/0.4101, allocations: 0.8093 MB / 0.9235 GB, free: 11.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/0.4109, allocations: 0.6506 MB / 0.9241 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009311/0.4118, allocations: 371.5 kB / 0.9245 GB, free: 10.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4119, allocations: 305.1 kB / 0.9247 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/0.4149, allocations: 1.928 MB / 0.9266 GB, free: 8.246 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/0.4183, allocations: 2.289 MB / 0.9289 GB, free: 5.832 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/0.425, allocations: 4.383 MB / 0.9331 GB, free: 1.328 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/0.425, allocations: 7.938 kB / 0.9332 GB, free: 1.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02103/0.446, allocations: 8.873 MB / 0.9418 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.4461, allocations: 8 kB / 0.9418 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.4461, allocations: 16.64 kB / 0.9418 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01791/0.464, allocations: 4.974 MB / 0.9467 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009129/0.4649, allocations: 195.7 kB / 0.9469 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4294/0.8944, allocations: 38 MB / 0.984 GB, free: 132 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.897, allocations: 101.6 kB / 0.9841 GB, free: 132 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/0.8974, allocations: 65.94 kB / 0.9842 GB, free: 132 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.001689/0.8991, allocations: 0.8044 MB / 0.9849 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.8994, allocations: 150.2 kB / 0.9851 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/0.9191, allocations: 8.737 MB / 0.9936 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.221e-05/0.9192, allocations: 18.12 kB / 0.9936 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.832e-05/0.9192, allocations: 28.94 kB / 0.9937 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.9193, allocations: 11.7 kB / 0.9937 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/0.9435, allocations: 12.65 MB / 1.006 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/0.9435, allocations: 11.55 kB / 1.006 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.944, allocations: 117.9 kB / 1.006 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01476/0.9587, allocations: 4.828 MB / 1.011 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003149/0.9591, allocations: 34.25 kB / 1.011 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04219/1.001, allocations: 35.92 MB / 1.046 GB, free: 91.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.001, allocations: 7.938 kB / 1.046 GB, free: 91.64 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/1.018, allocations: 8.45 MB / 1.054 GB, free: 83.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.019, allocations: 0.5809 MB / 1.055 GB, free: 82.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/1.019, allocations: 40 kB / 1.055 GB, free: 82.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.021, allocations: 88.75 kB / 1.055 GB, free: 82.39 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007669/1.021, allocations: 176.2 kB / 1.055 GB, free: 82.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.021, allocations: 48 kB / 1.055 GB, free: 82.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007795/1.022, allocations: 0.7343 MB / 1.056 GB, free: 81.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.022, allocations: 0 / 1.056 GB, free: 81.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0027/1.025, allocations: 1.004 MB / 1.057 GB, free: 80.43 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.01626/1.041, allocations: 9.041 MB / 1.066 GB, free: 71.29 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008185/1.049, allocations: 5.743 MB / 1.071 GB, free: 65.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.049, allocations: 3.938 kB / 1.071 GB, free: 65.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006481/1.056, allocations: 3.783 MB / 1.075 GB, free: 61.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.057, allocations: 247.9 kB / 1.075 GB, free: 61.46 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04713/1.104, allocations: 30.83 MB / 1.105 GB, free: 30.13 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.106, allocations: 1.263 MB / 1.107 GB, free: 28.83 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000726/1.106, allocations: 362.7 kB / 1.107 GB, free: 28.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/1.107, allocations: 0.6047 MB / 1.107 GB, free: 27.88 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/1.107, allocations: 0 / 1.107 GB, free: 27.88 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/1.253, allocations: 80.49 MB / 1.186 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/16.14, allocations: 8.047 kB / 1.186 GB, free: 11.91 MB / 0.7794 GB " [Timeout remaining time 644] (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: 20.84405825007707] Failed to read output from testmodel.py, exit status != 0: 16.338659098022617 16.354223568 16.134864932 Calling exit ...