Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 119 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002504/0.002504, allocations: 277.3 kB / 303.6 MB, free: 3.75 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.287/1.287, allocations: 180.9 MB / 0.5268 GB, free: 2.719 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 103.8 kB / 0.7259 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5708, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006553/0.5774, allocations: 6.165 MB / 0.8239 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004381/0.5817, allocations: 3.187 MB / 0.827 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.5822, allocations: 32.41 kB / 0.827 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.5844, allocations: 0.9388 MB / 0.8279 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.5856, allocations: 491.1 kB / 0.8284 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.5867, allocations: 487.1 kB / 0.8289 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.5881, allocations: 1.095 MB / 0.83 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008126/0.5889, allocations: 0.5092 MB / 0.8304 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.5895, allocations: 444 kB / 0.8309 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007089/0.5902, allocations: 0.4961 MB / 0.8314 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.625e-05/0.5903, allocations: 62.25 kB / 0.8314 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009789/0.5913, allocations: 495.4 kB / 0.8319 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.5916, allocations: 291.4 kB / 0.8322 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.592, allocations: 399.8 kB / 0.8325 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.5935, allocations: 1.189 MB / 0.8337 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5935, allocations: 0 / 0.8337 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5935, allocations: 0 / 0.8337 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.5935, allocations: 0 / 0.8337 GB, free: 13.98 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001772/0.5953, allocations: 1.076 MB / 0.8348 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5953, allocations: 9.438 kB / 0.8348 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.5969, allocations: 222.6 kB / 0.835 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008976/0.5978, allocations: 0.5861 MB / 0.8356 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.5978, allocations: 48.11 kB / 0.8356 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5979, allocations: 68 kB / 0.8357 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5994, allocations: 1.038 MB / 0.8367 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.5994, allocations: 7.266 kB / 0.8367 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/0.5995, allocations: 23.81 kB / 0.8367 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.46e-05/0.5995, allocations: 68.97 kB / 0.8368 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.6007, allocations: 0.6906 MB / 0.8374 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005965/0.6067, allocations: 5.747 MB / 0.8431 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.6077, allocations: 0.5453 MB / 0.8436 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000923/0.6087, allocations: 395.7 kB / 0.844 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.6087, allocations: 3.312 kB / 0.844 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.6087, allocations: 37.53 kB / 0.844 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.454e-06/0.6087, allocations: 0 / 0.844 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.004669/0.6134, allocations: 2.014 MB / 0.846 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.6134, allocations: 56.58 kB / 0.846 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.614, allocations: 457.6 kB / 0.8465 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.614, allocations: 31.77 kB / 0.8465 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.6144, allocations: 394.4 kB / 0.8469 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.6145, allocations: 171.9 kB / 0.847 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.6147, allocations: 108.8 kB / 0.8471 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.6149, allocations: 364 kB / 0.8475 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.6153, allocations: 247.5 kB / 0.8477 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.6158, allocations: 447.5 kB / 0.8482 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.6168, allocations: 0.7479 MB / 0.8489 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6168, allocations: 1.438 kB / 0.8489 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001999/0.6188, allocations: 1.032 MB / 0.8499 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.6189, allocations: 9 kB / 0.8499 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6189, allocations: 7.125 kB / 0.8499 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.62, allocations: 323.1 kB / 0.8502 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.6203, allocations: 98.22 kB / 0.8503 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008201/0.6285, allocations: 7.474 MB / 0.8576 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.629, allocations: 29.78 kB / 0.8576 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.6291, allocations: 24.34 kB / 0.8577 GB, free: 12.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.6295, allocations: 245 kB / 0.8579 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6296, allocations: 73.36 kB / 0.858 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.6314, allocations: 0.8765 MB / 0.8588 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6314, allocations: 4.5 kB / 0.8588 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.6314, allocations: 6.781 kB / 0.8588 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6314, allocations: 4.031 kB / 0.8588 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.6342, allocations: 1.668 MB / 0.8605 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6342, allocations: 1.031 kB / 0.8605 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.6344, allocations: 41.5 kB / 0.8605 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009772/0.6354, allocations: 311.1 kB / 0.8608 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.6354, allocations: 7.812 kB / 0.8608 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007871/0.6433, allocations: 7.452 MB / 0.8681 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6433, allocations: 6.25 kB / 0.8681 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.6451, allocations: 0.9825 MB / 0.869 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.6454, allocations: 185.4 kB / 0.8692 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.6455, allocations: 7.5 kB / 0.8692 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.6457, allocations: 16.77 kB / 0.8692 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.6459, allocations: 57.5 kB / 0.8693 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.6459, allocations: 13.38 kB / 0.8693 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003751/0.6463, allocations: 301.6 kB / 0.8696 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6463, allocations: 0 / 0.8696 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008405/0.6471, allocations: 193.2 kB / 0.8698 GB, free: 2.504 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001606/0.6473, allocations: 122.8 kB / 0.8699 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.6492, allocations: 1.15 MB / 0.871 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6492, allocations: 0 / 0.871 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.6505, allocations: 0.8295 MB / 0.8718 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6515, allocations: 214.2 kB / 0.872 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.6539, allocations: 1.316 MB / 0.8733 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.6545, allocations: 0.9863 MB / 0.8743 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6547, allocations: 41.44 kB / 0.8743 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.6547, allocations: 0 / 0.8743 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.02375/0.6784, allocations: 18.51 MB / 0.8924 GB, free: 2.309 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.005323493853211] Failed to read output from testmodel.py, exit status != 0: 0.687278043013066 0.700577569 0.104094241 Calling exit ...