Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.001401/0.001401, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.00155/0.00155, allocations: 214.1 kB / 23.75 MB, free: 4.445 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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.9515/0.9515, allocations: 149.9 MB / 463.8 MB, free: 10.34 MB / 366.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") [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.002106/0.002106, allocations: 64.91 kB / 0.6423 GB, free: 9.664 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1684, allocations: 89.18 MB / 0.7294 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.006137/0.1745, allocations: 3.786 MB / 0.7331 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003108/0.1776, allocations: 1.745 MB / 0.7348 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.1778, allocations: 15.88 kB / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.1792, allocations: 450.2 kB / 0.7352 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.1797, allocations: 250.8 kB / 0.7355 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.1803, allocations: 252.5 kB / 0.7357 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.181, allocations: 0.5101 MB / 0.7362 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.1815, allocations: 281.2 kB / 0.7365 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.1818, allocations: 215.3 kB / 0.7367 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.1822, allocations: 243.1 kB / 0.7369 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.1823, allocations: 32 kB / 0.7369 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.1826, allocations: 163.6 kB / 0.7371 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1827, allocations: 135.6 kB / 0.7372 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1829, allocations: 151.3 kB / 0.7374 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.1836, allocations: 0.502 MB / 0.7379 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1836, allocations: 3.984 kB / 0.7379 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1836, allocations: 0 / 0.7379 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.1836, allocations: 4 kB / 0.7379 GB, free: 7.828 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001195/0.1848, allocations: 0.5985 MB / 0.7384 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1848, allocations: 8.031 kB / 0.7385 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005527/0.1854, allocations: 88.64 kB / 0.7385 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1858, allocations: 237.9 kB / 0.7388 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.1858, allocations: 25.02 kB / 0.7388 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.1859, allocations: 28.38 kB / 0.7388 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000918/0.1868, allocations: 0.5869 MB / 0.7394 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1868, allocations: 0 / 0.7394 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.1868, allocations: 19.98 kB / 0.7394 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.1869, allocations: 40.62 kB / 0.7394 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/0.1877, allocations: 362.2 kB / 0.7398 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.1896, allocations: 1.38 MB / 0.7411 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.1903, allocations: 210.6 kB / 0.7413 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.1907, allocations: 148.8 kB / 0.7415 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1907, allocations: 4 kB / 0.7415 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1907, allocations: 30.56 kB / 0.7415 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.933e-06/0.1907, allocations: 0 / 0.7415 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.001173/0.1919, allocations: 364.3 kB / 0.7419 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1919, allocations: 51.41 kB / 0.7419 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1922, allocations: 237 kB / 0.7421 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1922, allocations: 29.7 kB / 0.7422 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1924, allocations: 220.1 kB / 0.7424 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.1924, allocations: 63.47 kB / 0.7424 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.1925, allocations: 61.94 kB / 0.7425 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1927, allocations: 334.8 kB / 0.7428 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.1929, allocations: 109.8 kB / 0.7429 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.1933, allocations: 229.3 kB / 0.7431 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.1939, allocations: 319.3 kB / 0.7434 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1939, allocations: 0 / 0.7434 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008326/0.1947, allocations: 370 kB / 0.7438 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1947, allocations: 8 kB / 0.7438 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1947, allocations: 4 kB / 0.7438 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.195, allocations: 45.03 kB / 0.7439 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.1953, allocations: 63.91 kB / 0.7439 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.1967, allocations: 1.329 MB / 0.7452 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.197, allocations: 39.77 kB / 0.7452 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.197, allocations: 16 kB / 0.7453 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003687/0.1974, allocations: 216.6 kB / 0.7455 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003472/0.1977, allocations: 237.4 kB / 0.7457 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005838/0.1983, allocations: 313.4 kB / 0.746 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.1983, allocations: 3.984 kB / 0.746 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007626/0.1991, allocations: 355.7 kB / 0.7463 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1991, allocations: 8 kB / 0.7463 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1991, allocations: 4 kB / 0.7463 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.1992, allocations: 33.31 kB / 0.7464 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.1995, allocations: 67.89 kB / 0.7464 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.2005, allocations: 1.284 MB / 0.7477 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.2008, allocations: 39.97 kB / 0.7477 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.2008, allocations: 15.94 kB / 0.7478 GB, free: 13.01 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.201, allocations: 200.1 kB / 0.7479 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.201, allocations: 23.86 kB / 0.748 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.2011, allocations: 30.11 kB / 0.748 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2011, allocations: 4 kB / 0.748 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2011, allocations: 7.875 kB / 0.748 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2011, allocations: 3.984 kB / 0.748 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.2022, allocations: 0.5979 MB / 0.7486 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.2022, allocations: 7.922 kB / 0.7486 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.2024, allocations: 39.91 kB / 0.7486 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.774e-05/0.2025, allocations: 28.91 kB / 0.7487 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.2026, allocations: 8 kB / 0.7487 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.2036, allocations: 1.288 MB / 0.7499 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2036, allocations: 3.938 kB / 0.7499 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.2043, allocations: 368.2 kB / 0.7503 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.2044, allocations: 39.78 kB / 0.7503 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2044, allocations: 3.984 kB / 0.7503 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2046, allocations: 15.98 kB / 0.7503 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.2046, allocations: 23.91 kB / 0.7504 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.2047, allocations: 8 kB / 0.7504 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001513/0.2048, allocations: 164.5 kB / 0.7505 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2048, allocations: 0 / 0.7505 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005974/0.2054, allocations: 155.6 kB / 0.7507 GB, free: 9.832 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.2055, allocations: 103.2 kB / 0.7508 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.2068, allocations: 0.5806 MB / 0.7513 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2068, allocations: 4 kB / 0.7513 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.2071, allocations: 218.7 kB / 0.7516 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.2076, allocations: 65.22 kB / 0.7516 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.2086, allocations: 0.6015 MB / 0.7522 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2088, allocations: 196.4 kB / 0.7524 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.2089, allocations: 19.44 kB / 0.7524 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.2089, allocations: 7.938 kB / 0.7524 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of Templates: time 0.007452/0.2163, allocations: 4.881 MB / 0.7572 GB, free: 3.078 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.175225100945681] Failed to read output from testmodel.py, exit status != 0: 0.22515374096110463 0.519098764 0.33255389799999996 Calling exit ...