Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005923/0.005923, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.67/1.67, allocations: 251.7 MB / 0.5094 GB, free: 3.102 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 71.91 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2529, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003442/0.2564, allocations: 2.005 MB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.2582, allocations: 0.9909 MB / 0.831 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2583, allocations: 0 / 0.831 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.2589, allocations: 159.4 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005383/0.2595, allocations: 155.4 kB / 0.8313 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.2602, allocations: 167.3 kB / 0.8314 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005303/0.2608, allocations: 299.2 kB / 0.8317 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.261, allocations: 48.3 kB / 0.8318 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.2613, allocations: 139.5 kB / 0.8319 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.2616, allocations: 139.5 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.2617, allocations: 15.94 kB / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.2618, allocations: 43.98 kB / 0.8321 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.262, allocations: 79.73 kB / 0.8322 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.2622, allocations: 123.2 kB / 0.8323 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.2627, allocations: 334.8 kB / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2627, allocations: 4 kB / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2628, allocations: 0 / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.2628, allocations: 0 / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001205/0.264, allocations: 0.6094 MB / 0.8332 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.2641, allocations: 8.031 kB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.2642, allocations: 32.56 kB / 0.8332 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.2649, allocations: 362.2 kB / 0.8336 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.265, allocations: 8.375 kB / 0.8336 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.265, allocations: 8.125 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.2654, allocations: 109.5 kB / 0.8337 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2654, allocations: 7.938 kB / 0.8337 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.2654, allocations: 0 / 0.8337 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2655, allocations: 4 kB / 0.8337 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.2657, allocations: 63.89 kB / 0.8338 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2668, allocations: 484.4 kB / 0.8342 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.2674, allocations: 138.6 kB / 0.8344 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.2676, allocations: 52.83 kB / 0.8344 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.2676, allocations: 4 kB / 0.8344 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.268, allocations: 103.3 kB / 0.8345 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.285e-06/0.268, allocations: 0 / 0.8345 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007995/0.2688, allocations: 233.2 kB / 0.8347 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.2689, allocations: 55.34 kB / 0.8348 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.2697, allocations: 493.6 kB / 0.8353 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.2697, allocations: 33.7 kB / 0.8353 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2699, allocations: 168.3 kB / 0.8355 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.27, allocations: 35.55 kB / 0.8355 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2701, allocations: 65.97 kB / 0.8356 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2703, allocations: 354.8 kB / 0.8359 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.2706, allocations: 96.52 kB / 0.836 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.271, allocations: 127.6 kB / 0.8361 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.2715, allocations: 184.5 kB / 0.8363 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2715, allocations: 4 kB / 0.8363 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008689/0.2724, allocations: 329.1 kB / 0.8366 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.2725, allocations: 4 kB / 0.8366 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2725, allocations: 0 / 0.8366 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.2725, allocations: 4 kB / 0.8366 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.2729, allocations: 51.91 kB / 0.8367 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.2729, allocations: 7.875 kB / 0.8367 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.2731, allocations: 15.94 kB / 0.8367 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.2732, allocations: 16.05 kB / 0.8367 GB, free: 7.102 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002817/0.2735, allocations: 181.7 kB / 0.8369 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.2736, allocations: 31.53 kB / 0.8369 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2737, allocations: 39.02 kB / 0.8369 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2738, allocations: 0 / 0.8369 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.2738, allocations: 3.938 kB / 0.8369 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2738, allocations: 0 / 0.8369 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.2742, allocations: 301.4 kB / 0.8372 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2742, allocations: 0 / 0.8372 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.2743, allocations: 12 kB / 0.8372 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2744, allocations: 7.938 kB / 0.8372 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.2744, allocations: 3.984 kB / 0.8373 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2744, allocations: 0 / 0.8373 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.2744, allocations: 7.875 kB / 0.8373 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.275, allocations: 211.9 kB / 0.8375 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.2751, allocations: 108.7 kB / 0.8376 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.2752, allocations: 4 kB / 0.8376 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2754, allocations: 11.98 kB / 0.8376 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2755, allocations: 19.92 kB / 0.8376 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.2755, allocations: 7.984 kB / 0.8376 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005075/0.2761, allocations: 303.1 kB / 0.8379 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2761, allocations: 0 / 0.8379 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005062/0.2766, allocations: 51.91 kB / 0.8379 GB, free: 5.73 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00168/0.2783, allocations: 423.3 kB / 0.8383 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006152/0.2789, allocations: 191.5 kB / 0.8385 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2789, allocations: 0 / 0.8385 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.2792, allocations: 67.91 kB / 0.8386 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.2799, allocations: 94.73 kB / 0.8387 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2812, allocations: 0.5044 MB / 0.8392 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.2818, allocations: 0.7909 MB / 0.84 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002638/0.2821, allocations: 62.92 kB / 0.84 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2822, allocations: 35.42 kB / 0.84 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.2822, allocations: 0 / 0.84 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of Templates: time 0.01362/0.2959, allocations: 3.863 MB / 0.8438 GB, free: 15.85 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)