Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.001792/0.001792, allocations: 75.05 kB / 20.51 MB, free: 1.281 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.002333/0.002333, allocations: 168.4 kB / 23.77 MB, free: 4.461 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.508/1.508, allocations: 177.2 MB / 204.1 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9408/0.9408, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 660] "Notification: IBPSA 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.003615/0.003615, allocations: 65.3 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1761, allocations: 89.14 MB / 0.6421 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006252/0.1824, allocations: 4.049 MB / 0.646 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1851, allocations: 1.574 MB / 0.6476 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1853, allocations: 11.94 kB / 0.6476 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.187, allocations: 0.5865 MB / 0.6482 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.1875, allocations: 242.9 kB / 0.6484 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.188, allocations: 211.6 kB / 0.6486 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.1886, allocations: 0.5492 MB / 0.6491 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.1892, allocations: 334.1 kB / 0.6494 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.1895, allocations: 235.2 kB / 0.6497 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.19, allocations: 247.1 kB / 0.6499 GB, free: 1.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/0.19, allocations: 36 kB / 0.6499 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.1903, allocations: 151.7 kB / 0.6501 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.1905, allocations: 155.5 kB / 0.6502 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.1907, allocations: 171.2 kB / 0.6504 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.1914, allocations: 0.5254 MB / 0.6509 GB, free: 476 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1914, allocations: 8 kB / 0.6509 GB, free: 468 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1914, allocations: 0 / 0.6509 GB, free: 468 kB / 0.545 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.1914, allocations: 0 / 0.6509 GB, free: 468 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001313/0.1927, allocations: 0.6184 MB / 0.6515 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1928, allocations: 8.031 kB / 0.6515 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.1935, allocations: 116.6 kB / 0.6516 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.194, allocations: 245.9 kB / 0.6519 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.022e-05/0.1941, allocations: 55.27 kB / 0.6519 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.1941, allocations: 32.36 kB / 0.652 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/0.1951, allocations: 0.6169 MB / 0.6526 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1951, allocations: 4 kB / 0.6526 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.1952, allocations: 15.98 kB / 0.6526 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.1952, allocations: 28.98 kB / 0.6526 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007525/0.196, allocations: 383.7 kB / 0.653 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.1981, allocations: 1.368 MB / 0.6543 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.1989, allocations: 250.6 kB / 0.6545 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.1993, allocations: 136.8 kB / 0.6547 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1993, allocations: 0 / 0.6547 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1994, allocations: 42.52 kB / 0.6547 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.082e-06/0.1994, allocations: 3.938 kB / 0.6547 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001656/0.201, allocations: 437.4 kB / 0.6551 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2011, allocations: 51.41 kB / 0.6552 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.2013, allocations: 215 kB / 0.6554 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.2013, allocations: 29.7 kB / 0.6554 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.2015, allocations: 220.1 kB / 0.6556 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.2015, allocations: 67.42 kB / 0.6557 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.2016, allocations: 53.66 kB / 0.6557 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2018, allocations: 334.8 kB / 0.6561 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.202, allocations: 96.8 kB / 0.6562 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.2024, allocations: 230.4 kB / 0.6564 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.2029, allocations: 283.4 kB / 0.6566 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2029, allocations: 4 kB / 0.6566 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009818/0.2039, allocations: 382.7 kB / 0.657 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2039, allocations: 8.25 kB / 0.657 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2039, allocations: 8 kB / 0.657 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005677/0.2045, allocations: 121.6 kB / 0.6571 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.2047, allocations: 47.91 kB / 0.6572 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003532/0.2083, allocations: 2.799 MB / 0.6599 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.2085, allocations: 31.83 kB / 0.66 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2085, allocations: 12 kB / 0.66 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003435/0.2089, allocations: 227.3 kB / 0.6602 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003212/0.2092, allocations: 237.7 kB / 0.6604 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005034/0.2097, allocations: 274.9 kB / 0.6607 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.2097, allocations: 4 kB / 0.6607 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008859/0.2106, allocations: 369.3 kB / 0.661 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.2106, allocations: 14.03 kB / 0.661 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2106, allocations: 3.938 kB / 0.661 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.211, allocations: 105.6 kB / 0.6611 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2112, allocations: 51.91 kB / 0.6612 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.2144, allocations: 2.767 MB / 0.6639 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.2146, allocations: 32.09 kB / 0.6639 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.2146, allocations: 8 kB / 0.6639 GB, free: 2.258 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.2148, allocations: 196.2 kB / 0.6641 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.2148, allocations: 19.86 kB / 0.6641 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/0.2149, allocations: 33.73 kB / 0.6642 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2149, allocations: 7.938 kB / 0.6642 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2149, allocations: 0 / 0.6642 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2149, allocations: 0 / 0.6642 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.2163, allocations: 0.677 MB / 0.6648 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2163, allocations: 0 / 0.6648 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2164, allocations: 31.98 kB / 0.6649 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.2168, allocations: 101.7 kB / 0.665 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.2168, allocations: 11.94 kB / 0.665 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/0.22, allocations: 2.771 MB / 0.6677 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.22, allocations: 4.031 kB / 0.6677 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008456/0.2209, allocations: 415.3 kB / 0.6681 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.2209, allocations: 35.78 kB / 0.6681 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.221, allocations: 4 kB / 0.6681 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.2212, allocations: 11.98 kB / 0.6681 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.2212, allocations: 23.91 kB / 0.6682 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.2212, allocations: 8 kB / 0.6682 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001458/0.2214, allocations: 152.4 kB / 0.6683 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2214, allocations: 0 / 0.6683 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006612/0.2221, allocations: 175.5 kB / 0.6685 GB, free: 13.31 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.2222, allocations: 107.2 kB / 0.6686 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.2243, allocations: 0.8573 MB / 0.6694 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2243, allocations: 4 kB / 0.6694 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008482/0.2252, allocations: 363.1 kB / 0.6698 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.2256, allocations: 51.94 kB / 0.6698 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2267, allocations: 0.5947 MB / 0.6704 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.227, allocations: 203.8 kB / 0.6706 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.2272, allocations: 57.91 kB / 0.6706 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.2272, allocations: 20.5 kB / 0.6707 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.2272, allocations: 0 / 0.6707 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.009863/0.2371, allocations: 4.623 MB / 0.6752 GB, free: 6.387 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.633868518983945] Failed to read output from testmodel.py, exit status != 0: 0.24775644193869084 0.26047189699999995 0.065955312 Calling exit ...