Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.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.0014/0.0014, 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.00142/0.00142, allocations: 159.3 kB / 23.76 MB, free: 4.473 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.454/1.454, allocations: 177.2 MB / 204.1 MB, free: 8.98 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.9378/0.9378, 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.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min") [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.002142/0.002142, allocations: 71.77 kB / 0.555 GB, free: 2.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1779, allocations: 89.15 MB / 0.6421 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Min): time 0.002203/0.1801, allocations: 0.7254 MB / 0.6428 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1815, allocations: 0.886 MB / 0.6437 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.1815, allocations: 0 / 0.6437 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.1816, allocations: 11.88 kB / 0.6437 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.263e-05/0.1817, allocations: 7.938 kB / 0.6437 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1819, allocations: 47.88 kB / 0.6437 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.182, allocations: 83.77 kB / 0.6438 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1821, allocations: 23.97 kB / 0.6438 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.1822, allocations: 39.84 kB / 0.6439 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1823, allocations: 43.81 kB / 0.6439 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1823, allocations: 8 kB / 0.6439 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.1823, allocations: 8 kB / 0.6439 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.1824, allocations: 19.92 kB / 0.644 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.1824, allocations: 31.86 kB / 0.644 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1826, allocations: 83.67 kB / 0.6441 GB, free: 7.512 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1826, allocations: 4 kB / 0.6441 GB, free: 7.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1826, allocations: 0 / 0.6441 GB, free: 7.508 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1826, allocations: 3.984 kB / 0.6441 GB, free: 7.504 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006869/0.1833, allocations: 325.8 kB / 0.6444 GB, free: 7.156 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1833, allocations: 8.031 kB / 0.6444 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.1833, allocations: 8.891 kB / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1835, allocations: 126.4 kB / 0.6445 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1835, allocations: 4.375 kB / 0.6445 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1835, allocations: 12.31 kB / 0.6445 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1839, allocations: 107.9 kB / 0.6446 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1839, allocations: 3.984 kB / 0.6446 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1839, allocations: 0 / 0.6446 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.1839, allocations: 4 kB / 0.6447 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.1843, allocations: 107.8 kB / 0.6448 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.1848, allocations: 260.4 kB / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.1855, allocations: 118.5 kB / 0.6451 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.1857, allocations: 56.8 kB / 0.6452 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1857, allocations: 0 / 0.6452 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1858, allocations: 42.56 kB / 0.6452 GB, free: 6.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1858, allocations: 0 / 0.6452 GB, free: 6.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007275/0.1865, allocations: 177.5 kB / 0.6454 GB, free: 6.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.1865, allocations: 59.34 kB / 0.6454 GB, free: 5.984 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1866, allocations: 117.8 kB / 0.6455 GB, free: 5.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.1867, allocations: 29.7 kB / 0.6456 GB, free: 5.824 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.1867, allocations: 100.1 kB / 0.6457 GB, free: 5.723 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1868, allocations: 15.84 kB / 0.6457 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.1868, allocations: 25.7 kB / 0.6457 GB, free: 5.676 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.187, allocations: 322.8 kB / 0.646 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1872, allocations: 43.95 kB / 0.6461 GB, free: 5.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.1874, allocations: 47.95 kB / 0.6461 GB, free: 5.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.1878, allocations: 105.2 kB / 0.6462 GB, free: 5.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1878, allocations: 0 / 0.6462 GB, free: 5.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004476/0.1882, allocations: 133.5 kB / 0.6463 GB, free: 5.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1882, allocations: 5.562 kB / 0.6463 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1882, allocations: 3.938 kB / 0.6463 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1882, allocations: 4 kB / 0.6463 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.1884, allocations: 31.91 kB / 0.6464 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1884, allocations: 4 kB / 0.6464 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1886, allocations: 11.94 kB / 0.6464 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1886, allocations: 11.92 kB / 0.6464 GB, free: 4.949 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001082/0.1887, allocations: 113.8 kB / 0.6465 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1887, allocations: 4 kB / 0.6465 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.1892, allocations: 150 kB / 0.6467 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1892, allocations: 0 / 0.6467 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1892, allocations: 4 kB / 0.6467 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1892, allocations: 7.922 kB / 0.6467 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1894, allocations: 145.1 kB / 0.6468 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1894, allocations: 0 / 0.6468 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.1896, allocations: 23.97 kB / 0.6468 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1896, allocations: 4 kB / 0.6468 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1896, allocations: 4 kB / 0.6468 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1896, allocations: 0 / 0.6468 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1896, allocations: 4 kB / 0.6468 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.1901, allocations: 231.3 kB / 0.6471 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.1901, allocations: 0 / 0.6471 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1901, allocations: 7.938 kB / 0.6471 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1903, allocations: 19.97 kB / 0.6471 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.1904, allocations: 19.98 kB / 0.6471 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1904, allocations: 7.984 kB / 0.6471 GB, free: 4.156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.1905, allocations: 91.7 kB / 0.6472 GB, free: 4.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1905, allocations: 0 / 0.6472 GB, free: 4.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002467/0.1907, allocations: 15.95 kB / 0.6472 GB, free: 4.051 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 0.0001328/0.1908, allocations: 107.2 kB / 0.6473 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.1913, allocations: 107.9 kB / 0.6474 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1913, allocations: 0 / 0.6474 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.1915, allocations: 63.88 kB / 0.6475 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1919, allocations: 8 kB / 0.6475 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.1923, allocations: 178.1 kB / 0.6477 GB, free: 3.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.1924, allocations: 79.33 kB / 0.6477 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.576e-05/0.1925, allocations: 15.88 kB / 0.6478 GB, free: 3.441 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.1926, allocations: 20.48 kB / 0.6478 GB, free: 3.422 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1926, allocations: 0 / 0.6478 GB, free: 3.422 MB / 0.545 GB Notification: Performance of Templates: time 0.004893/0.1974, allocations: 1.699 MB / 0.6494 GB, free: 1.746 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.445762897026725] Failed to read output from testmodel.py, exit status != 0: 0.2061175610870123 0.22160230800000003 0.035818679 Calling exit ...