Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.0007667/0.0007667, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007916/0.0007916, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.837/0.837, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001422/0.001422, allocations: 233.7 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6438/0.6438, allocations: 138.4 MB / 455.1 MB, free: 30.02 MB / 410.7 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6475 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.838e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.2311/0.2311, allocations: 3.022 MB / 0.6505 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2325, allocations: 1.292 MB / 0.6517 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2326, allocations: 10.41 kB / 0.6517 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.2332, allocations: 336.8 kB / 0.652 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.2335, allocations: 152 kB / 0.6522 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.2337, allocations: 137.8 kB / 0.6523 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.2339, allocations: 315.5 kB / 0.6526 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.2342, allocations: 183.1 kB / 0.6528 GB, free: 55 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.2344, allocations: 169.5 kB / 0.653 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.2346, allocations: 128.1 kB / 0.6531 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.2346, allocations: 17.88 kB / 0.6531 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2348, allocations: 161.2 kB / 0.6533 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.2349, allocations: 79.89 kB / 0.6533 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.2349, allocations: 78.45 kB / 0.6534 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.2353, allocations: 349.7 kB / 0.6537 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2353, allocations: 1.219 kB / 0.6537 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2353, allocations: 0.6562 kB / 0.6537 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.2353, allocations: 0 / 0.6537 GB, free: 54.66 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006111/0.2359, allocations: 454.7 kB / 0.6542 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2359, allocations: 11.78 kB / 0.6542 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.2363, allocations: 79.92 kB / 0.6543 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.2365, allocations: 182.2 kB / 0.6544 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2365, allocations: 18.89 kB / 0.6545 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2365, allocations: 17.09 kB / 0.6545 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.2368, allocations: 377.4 kB / 0.6548 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2368, allocations: 2.156 kB / 0.6548 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.2369, allocations: 6.281 kB / 0.6548 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.2369, allocations: 22.88 kB / 0.6549 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.2371, allocations: 194.9 kB / 0.655 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.2379, allocations: 0.9902 MB / 0.656 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.238, allocations: 96.81 kB / 0.6561 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.2381, allocations: 30.7 kB / 0.6561 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-06/0.2381, allocations: 1.625 kB / 0.6561 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.2381, allocations: 40 kB / 0.6562 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2381, allocations: 0.6562 kB / 0.6562 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0003051/0.2384, allocations: 144.8 kB / 0.6563 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.2384, allocations: 55.88 kB / 0.6564 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2385, allocations: 184.5 kB / 0.6565 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2385, allocations: 29.7 kB / 0.6566 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2386, allocations: 172.9 kB / 0.6567 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.2386, allocations: 28.86 kB / 0.6568 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.2386, allocations: 36.69 kB / 0.6568 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.2387, allocations: 322.5 kB / 0.6571 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.2387, allocations: 39.27 kB / 0.6571 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.2388, allocations: 98.91 kB / 0.6572 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.2389, allocations: 148.8 kB / 0.6574 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2389, allocations: 0 / 0.6574 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001857/0.2391, allocations: 192.9 kB / 0.6576 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2391, allocations: 9.594 kB / 0.6576 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2391, allocations: 2.531 kB / 0.6576 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.2392, allocations: 27.41 kB / 0.6576 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.2393, allocations: 30.2 kB / 0.6576 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005304/0.2398, allocations: 1.287 MB / 0.6589 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.2399, allocations: 20.41 kB / 0.6589 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2399, allocations: 7.828 kB / 0.6589 GB, free: 50.44 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/0.2399, allocations: 150.6 kB / 0.6591 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.24, allocations: 10.45 kB / 0.6591 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.583e-05/0.24, allocations: 15.23 kB / 0.6591 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.24, allocations: 6.828 kB / 0.6591 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.24, allocations: 0 / 0.6591 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.24, allocations: 0.5625 kB / 0.6591 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.2403, allocations: 375.2 kB / 0.6594 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2403, allocations: 6.594 kB / 0.6595 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.2403, allocations: 7.969 kB / 0.6595 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.754e-05/0.2404, allocations: 26.92 kB / 0.6595 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2404, allocations: 3.188 kB / 0.6595 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003947/0.2408, allocations: 1.286 MB / 0.6607 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2408, allocations: 1.219 kB / 0.6607 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.2409, allocations: 214.4 kB / 0.6609 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.2409, allocations: 19.8 kB / 0.661 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-06/0.2409, allocations: 3.5 kB / 0.661 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.241, allocations: 7.391 kB / 0.661 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.241, allocations: 9.234 kB / 0.661 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.241, allocations: 5.969 kB / 0.661 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.241, allocations: 133.1 kB / 0.6611 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.241, allocations: 0 / 0.6611 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002016/0.2412, allocations: 54.55 kB / 0.6612 GB, free: 48.43 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.232e-05/0.2413, allocations: 108 kB / 0.6613 GB, free: 48.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.2415, allocations: 203.5 kB / 0.6615 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2416, allocations: 0 / 0.6615 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.2416, allocations: 149 kB / 0.6616 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.2418, allocations: 33.67 kB / 0.6616 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.2423, allocations: 380.7 kB / 0.662 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.885e-05/0.2424, allocations: 135.1 kB / 0.6621 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.2424, allocations: 18.66 kB / 0.6622 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.2424, allocations: 4 kB / 0.6622 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.003612/0.246, allocations: 2.983 MB / 0.6651 GB, free: 47.53 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.46849571261555] Failed to read output from testmodel.py, exit status != 0: 0.25132794864475727 0.25817040299999994 0.021269566 Calling exit ...