Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.00178/0.00178, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002211/0.002211, allocations: 211.6 kB / 22.24 MB, free: 5.258 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.809 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.002672/0.002672, allocations: 294 kB / 312.7 MB, free: 2.617 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.231/1.231, allocations: 180.6 MB / 0.5369 GB, free: 14.64 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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.003003/0.003003, allocations: 106.5 kB / 0.74 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1675, allocations: 95.38 MB / 0.8331 GB, free: 7.84 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009221/0.1767, allocations: 6.492 MB / 0.8395 GB, free: 1.32 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.005502/0.1822, allocations: 3.04 MB / 0.8424 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.1826, allocations: 35.69 kB / 0.8425 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.1852, allocations: 0.9452 MB / 0.8434 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.1863, allocations: 0.5323 MB / 0.8439 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1874, allocations: 424.5 kB / 0.8443 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.1887, allocations: 1.221 MB / 0.8455 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.1895, allocations: 0.5373 MB / 0.846 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006444/0.1902, allocations: 486.3 kB / 0.8465 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000781/0.1909, allocations: 0.5174 MB / 0.847 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1911, allocations: 64 kB / 0.8471 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.1917, allocations: 347.3 kB / 0.8474 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.192, allocations: 315.1 kB / 0.8477 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004198/0.1924, allocations: 382.2 kB / 0.8481 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1938, allocations: 1.23 MB / 0.8493 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1939, allocations: 0 / 0.8493 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1939, allocations: 4 kB / 0.8493 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1939, allocations: 0 / 0.8493 GB, free: 7.254 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002078/0.1959, allocations: 1.104 MB / 0.8503 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.196, allocations: 9.344 kB / 0.8504 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.1976, allocations: 244.1 kB / 0.8506 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1986, allocations: 0.523 MB / 0.8511 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.1987, allocations: 53.62 kB / 0.8512 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1988, allocations: 64.36 kB / 0.8512 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.2006, allocations: 1.336 MB / 0.8525 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.2006, allocations: 11.89 kB / 0.8525 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.2007, allocations: 31.98 kB / 0.8526 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.2009, allocations: 85.25 kB / 0.8526 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.2022, allocations: 0.7465 MB / 0.8534 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.2075, allocations: 4.523 MB / 0.8578 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.2085, allocations: 0.5046 MB / 0.8583 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/0.209, allocations: 290 kB / 0.8586 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.209, allocations: 4.438 kB / 0.8586 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.2091, allocations: 42.94 kB / 0.8586 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.053e-06/0.2091, allocations: 3.938 kB / 0.8586 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003877/0.2129, allocations: 1.675 MB / 0.8602 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.213, allocations: 55.84 kB / 0.8603 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.2136, allocations: 0.5066 MB / 0.8608 GB, free: 11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.2137, allocations: 37.7 kB / 0.8608 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.214, allocations: 431.8 kB / 0.8612 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.2142, allocations: 178.5 kB / 0.8614 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.2144, allocations: 130.6 kB / 0.8615 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2146, allocations: 370.7 kB / 0.8619 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.215, allocations: 277.8 kB / 0.8621 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.2157, allocations: 493 kB / 0.8626 GB, free: 9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.2168, allocations: 0.8122 MB / 0.8634 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2168, allocations: 0 / 0.8634 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001918/0.2187, allocations: 1.066 MB / 0.8645 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.2187, allocations: 11.94 kB / 0.8645 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2188, allocations: 8 kB / 0.8645 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008759/0.2196, allocations: 279.6 kB / 0.8647 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.2201, allocations: 127.8 kB / 0.8649 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/0.2272, allocations: 6.599 MB / 0.8713 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.2277, allocations: 39.97 kB / 0.8713 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.2278, allocations: 28 kB / 0.8714 GB, free: 15.5 MB / 0.6231 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004029/0.2282, allocations: 254.3 kB / 0.8716 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.2283, allocations: 71.58 kB / 0.8717 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.23, allocations: 0.8724 MB / 0.8725 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.23, allocations: 4 kB / 0.8725 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.23, allocations: 8 kB / 0.8725 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.23, allocations: 7.922 kB / 0.8726 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.2327, allocations: 1.521 MB / 0.874 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.2327, allocations: 4 kB / 0.874 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.233, allocations: 60.08 kB / 0.8741 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007816/0.2338, allocations: 271.1 kB / 0.8744 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.2338, allocations: 15.98 kB / 0.8744 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/0.2408, allocations: 6.587 MB / 0.8808 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2408, allocations: 3.938 kB / 0.8808 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.2424, allocations: 0.9721 MB / 0.8818 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.2428, allocations: 111.5 kB / 0.8819 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.542e-05/0.2429, allocations: 16 kB / 0.8819 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.2432, allocations: 27.97 kB / 0.8819 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2433, allocations: 47.86 kB / 0.882 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.2434, allocations: 16 kB / 0.882 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004206/0.2438, allocations: 342.8 kB / 0.8823 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2438, allocations: 0 / 0.8823 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008476/0.2446, allocations: 220 kB / 0.8825 GB, free: 3.535 MB / 0.6231 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.2448, allocations: 119.1 kB / 0.8826 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.2468, allocations: 1.224 MB / 0.8838 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2468, allocations: 4 kB / 0.8838 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.2481, allocations: 0.8697 MB / 0.8847 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.2491, allocations: 212.4 kB / 0.8849 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.2513, allocations: 1.351 MB / 0.8862 GB, free: 15.61 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.2518, allocations: 411.3 kB / 0.8866 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0003432/0.2521, allocations: 117.4 kB / 0.8867 GB, free: 15.06 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2522, allocations: 35.44 kB / 0.8867 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of SimCode: time 5.71e-07/0.2522, allocations: 0 / 0.8867 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of Templates: time 0.02145/0.2737, allocations: 12.27 MB / 0.8987 GB, free: 3.012 MB / 0.6388 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.530959812924266] Failed to read output from testmodel.py, exit status != 0: 0.2813183646649122 0.29634168099999997 0.099432881 Calling exit ...