Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.001518/0.001518, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.00159/0.00159, allocations: 159 kB / 23.01 MB, free: 4.945 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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.002412/0.002412, allocations: 250 kB / 260 MB, free: 436 kB / 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 0.886/0.886, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") [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.002908/0.002908, allocations: 99.84 kB / 0.6473 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3779, allocations: 95.35 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002617/0.3805, allocations: 1.499 MB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000345/0.3808, allocations: 115.8 kB / 0.742 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.3809, allocations: 1.188 kB / 0.742 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.896e-05/0.3809, allocations: 5.203 kB / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.381, allocations: 5.922 kB / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.3812, allocations: 29.66 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.3813, allocations: 43.66 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.3814, allocations: 8.891 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.3814, allocations: 17.58 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.3814, allocations: 18.7 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3815, allocations: 7.812 kB / 0.7422 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.081e-05/0.3815, allocations: 22.39 kB / 0.7422 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.3816, allocations: 13.5 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.3816, allocations: 14.17 kB / 0.7422 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.3817, allocations: 62.19 kB / 0.7423 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3818, allocations: 0 / 0.7423 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3818, allocations: 0 / 0.7423 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3818, allocations: 3.938 kB / 0.7423 GB, free: 16.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004475/0.3822, allocations: 307.3 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3822, allocations: 14.31 kB / 0.7426 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3823, allocations: 7.203 kB / 0.7426 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.3824, allocations: 113.4 kB / 0.7427 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3824, allocations: 2.062 kB / 0.7427 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3824, allocations: 5.5 kB / 0.7427 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3826, allocations: 74.16 kB / 0.7428 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3826, allocations: 192 / 0.7428 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3826, allocations: 5.219 kB / 0.7428 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3827, allocations: 7.875 kB / 0.7428 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.3829, allocations: 76.09 kB / 0.7429 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.3832, allocations: 233.3 kB / 0.7431 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3834, allocations: 63.28 kB / 0.7431 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3836, allocations: 46.16 kB / 0.7432 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.3838, allocations: 37 kB / 0.7432 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3838, allocations: 36.77 kB / 0.7433 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3838, allocations: 1.125 kB / 0.7433 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005416/0.3844, allocations: 146.6 kB / 0.7434 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3844, allocations: 53.75 kB / 0.7435 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.3844, allocations: 128.3 kB / 0.7436 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.3845, allocations: 25.7 kB / 0.7436 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.3845, allocations: 97.72 kB / 0.7437 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.3845, allocations: 9.359 kB / 0.7437 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.3845, allocations: 13.73 kB / 0.7437 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.3846, allocations: 319.3 kB / 0.744 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.3847, allocations: 38.91 kB / 0.7441 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3849, allocations: 36.14 kB / 0.7441 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3851, allocations: 79.47 kB / 0.7442 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3851, allocations: 0 / 0.7442 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003261/0.3855, allocations: 121 kB / 0.7443 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3855, allocations: 5.531 kB / 0.7443 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3855, allocations: 4.562 kB / 0.7443 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3855, allocations: 0 / 0.7443 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3856, allocations: 16.56 kB / 0.7443 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3856, allocations: 0 / 0.7443 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.3857, allocations: 11.75 kB / 0.7443 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3857, allocations: 2.219 kB / 0.7443 GB, free: 14.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.3858, allocations: 120.8 kB / 0.7444 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3858, allocations: 10.73 kB / 0.7444 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.3861, allocations: 127.1 kB / 0.7446 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3861, allocations: 0.5625 kB / 0.7446 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3861, allocations: 1.188 kB / 0.7446 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3862, allocations: 0.5156 kB / 0.7446 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.3863, allocations: 124.5 kB / 0.7447 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3863, allocations: 1.188 kB / 0.7447 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/0.3864, allocations: 23.42 kB / 0.7447 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3864, allocations: 0 / 0.7447 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.3864, allocations: 1.969 kB / 0.7447 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3864, allocations: 0 / 0.7447 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3864, allocations: 0.7031 kB / 0.7447 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.3867, allocations: 214.1 kB / 0.7449 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.3867, allocations: 9.281 kB / 0.7449 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3867, allocations: 2.5 kB / 0.7449 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3868, allocations: 10.83 kB / 0.7449 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.3869, allocations: 8.328 kB / 0.7449 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3869, allocations: 1.062 kB / 0.7449 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.3869, allocations: 96.59 kB / 0.745 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.3869, allocations: 1.469 kB / 0.745 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002276/0.3871, allocations: 17.83 kB / 0.7451 GB, free: 14.06 MB / 0.5919 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.41e-05/0.3872, allocations: 103.5 kB / 0.7452 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.3876, allocations: 75.16 kB / 0.7452 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3876, allocations: 1.312 kB / 0.7452 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.3877, allocations: 42.73 kB / 0.7453 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.388, allocations: 11.5 kB / 0.7453 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.3883, allocations: 150.4 kB / 0.7454 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.3883, allocations: 70.91 kB / 0.7455 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.3883, allocations: 1.375 kB / 0.7455 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.3883, allocations: 12.38 kB / 0.7455 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.3883, allocations: 0 / 0.7455 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of Templates: time 0.003217/0.3916, allocations: 0.8519 MB / 0.7463 GB, free: 13.62 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.396634550997987] Failed to read output from testmodel.py, exit status != 0: 0.3988107470795512 0.40914745900000005 0.025000912 Calling exit ...