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.00143/0.00143, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001498/0.001498, allocations: 192.3 kB / 22.85 MB, free: 5.645 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.294/1.294, allocations: 225.6 MB / 251.6 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] 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.00239/0.00239, allocations: 287.3 kB / 307 MB, free: 8.344 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.107/1.107, allocations: 180.8 MB / 0.5304 GB, free: 14.43 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 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.002617/0.002617, allocations: 103.1 kB / 0.7311 GB, free: 38.63 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1374, allocations: 94.2 MB / 0.8231 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008095/0.1455, allocations: 6.294 MB / 0.8292 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005517/0.151, allocations: 3.266 MB / 0.8324 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.1513, allocations: 39.62 kB / 0.8324 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.1536, allocations: 0.9673 MB / 0.8334 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009515/0.1546, allocations: 497.6 kB / 0.8339 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1556, allocations: 482.7 kB / 0.8343 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.1567, allocations: 1.1 MB / 0.8354 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006872/0.1573, allocations: 470.7 kB / 0.8359 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.1578, allocations: 446.4 kB / 0.8363 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/0.1585, allocations: 0.4942 MB / 0.8368 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.1585, allocations: 60 kB / 0.8368 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006448/0.1592, allocations: 447 kB / 0.8372 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.1595, allocations: 295.2 kB / 0.8375 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.1598, allocations: 394 kB / 0.8379 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.161, allocations: 1.179 MB / 0.8391 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.161, allocations: 8 kB / 0.8391 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.161, allocations: 0 / 0.8391 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.161, allocations: 0 / 0.8391 GB, free: 1.59 MB / 0.5762 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.001426/0.1624, allocations: 0.9947 MB / 0.84 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1625, allocations: 12.03 kB / 0.84 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1638, allocations: 224.2 kB / 0.8403 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.1647, allocations: 0.5126 MB / 0.8408 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.1647, allocations: 45.67 kB / 0.8408 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1648, allocations: 64.31 kB / 0.8409 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.1662, allocations: 1.038 MB / 0.8419 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.1662, allocations: 7.938 kB / 0.8419 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.1663, allocations: 28 kB / 0.8419 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.514e-05/0.1664, allocations: 69.27 kB / 0.842 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1674, allocations: 0.6918 MB / 0.8427 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005122/0.1725, allocations: 5.65 MB / 0.8482 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.1733, allocations: 406.8 kB / 0.8486 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007504/0.174, allocations: 394.9 kB / 0.8489 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.174, allocations: 4 kB / 0.8489 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1741, allocations: 38.56 kB / 0.849 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.1741, allocations: 0 / 0.849 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.003906/0.178, allocations: 1.703 MB / 0.8506 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.178, allocations: 67.33 kB / 0.8507 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.1785, allocations: 458.8 kB / 0.8511 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1785, allocations: 29.7 kB / 0.8512 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.1788, allocations: 396.1 kB / 0.8515 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1789, allocations: 158.6 kB / 0.8517 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1791, allocations: 106.3 kB / 0.8518 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.1792, allocations: 366.8 kB / 0.8521 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.1796, allocations: 241.2 kB / 0.8524 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.1801, allocations: 460.9 kB / 0.8528 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.181, allocations: 0.7526 MB / 0.8536 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.181, allocations: 0 / 0.8536 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001755/0.1828, allocations: 1.034 MB / 0.8546 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1828, allocations: 8 kB / 0.8546 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1828, allocations: 8.875 kB / 0.8546 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009346/0.1837, allocations: 327 kB / 0.8549 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.184, allocations: 99.83 kB / 0.855 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/0.191, allocations: 7.065 MB / 0.8619 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.1913, allocations: 28.03 kB / 0.8619 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.1913, allocations: 31.98 kB / 0.8619 GB, free: 8.785 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.0002777/0.1916, allocations: 238.2 kB / 0.8622 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.1917, allocations: 71.5 kB / 0.8622 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.1933, allocations: 0.8804 MB / 0.8631 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1933, allocations: 4 kB / 0.8631 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1933, allocations: 4 kB / 0.8631 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1934, allocations: 0 / 0.8631 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.1959, allocations: 1.633 MB / 0.8647 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1959, allocations: 192 / 0.8647 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.196, allocations: 44.06 kB / 0.8647 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008536/0.1969, allocations: 315.1 kB / 0.865 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.1969, allocations: 8 kB / 0.8651 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006837/0.2037, allocations: 7.073 MB / 0.872 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2037, allocations: 3.938 kB / 0.872 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.2054, allocations: 0.976 MB / 0.8729 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.2056, allocations: 95.58 kB / 0.873 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.2056, allocations: 12 kB / 0.873 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.2059, allocations: 19.97 kB / 0.873 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.206, allocations: 52.09 kB / 0.8731 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.206, allocations: 8 kB / 0.8731 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003346/0.2064, allocations: 310.8 kB / 0.8734 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2064, allocations: 0 / 0.8734 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007199/0.2071, allocations: 192 kB / 0.8736 GB, free: 12.25 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 (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.0001457/0.2072, allocations: 115.2 kB / 0.8737 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.209, allocations: 1.164 MB / 0.8748 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.209, allocations: 0 / 0.8748 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.2101, allocations: 0.8191 MB / 0.8756 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.211, allocations: 215 kB / 0.8758 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.2128, allocations: 1.25 MB / 0.877 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.2134, allocations: 0.9842 MB / 0.878 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.2136, allocations: 105.2 kB / 0.8781 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.2137, allocations: 35.44 kB / 0.8781 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2137, allocations: 3.938 kB / 0.8781 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of Templates: time 0.01707/0.2308, allocations: 10.44 MB / 0.8883 GB, free: 13.06 MB / 0.6387 GB " [Timeout remaining time 660] 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.751529984998342] Failed to read output from testmodel.py, exit status != 0: 0.23803893600415904 0.25194433699999996 0.088160798 Calling exit ...