Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.735/0.735, allocations: 128.7 MB / 143.7 MB, free: 2.336 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 176.4 kB / 173.7 MB, free: 6.141 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 409 MB, free: 10.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000877/0.0008769, allocations: 83.69 kB / 486.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 14.42 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.2866, allocations: 102.4 MB / 0.7354 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.2869, allocations: 75.95 kB / 0.7355 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003293/0.2902, allocations: 1.262 MB / 0.7367 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2903, allocations: 0 / 0.7367 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2903, allocations: 0 / 0.7367 GB, free: 6.625 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003209/0.2906, allocations: 363.2 kB / 0.737 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2907, allocations: 11.97 kB / 0.7371 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.2907, allocations: 38.56 kB / 0.7371 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.2908, allocations: 11.86 kB / 0.7371 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2909, allocations: 167 kB / 0.7373 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2909, allocations: 4 kB / 0.7373 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.2909, allocations: 4 kB / 0.7373 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.2912, allocations: 159.3 kB / 0.7374 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2912, allocations: 0 / 0.7374 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2912, allocations: 11.98 kB / 0.7374 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.2913, allocations: 19.92 kB / 0.7375 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.2914, allocations: 43.86 kB / 0.7375 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.2921, allocations: 0.8868 MB / 0.7384 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.2922, allocations: 173.1 kB / 0.7385 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.2922, allocations: 75.28 kB / 0.7386 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.2923, allocations: 109.8 kB / 0.7387 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2923, allocations: 0 / 0.7387 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.011e-05/0.2924, allocations: 43.58 kB / 0.7387 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.2926, allocations: 395.7 kB / 0.7391 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2928, allocations: 155.8 kB / 0.7393 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2928, allocations: 29.7 kB / 0.7393 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.2929, allocations: 143.3 kB / 0.7394 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.503e-06/0.2929, allocations: 7.984 kB / 0.7394 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.2929, allocations: 3.938 kB / 0.7395 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.293, allocations: 322.8 kB / 0.7398 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.2931, allocations: 28.34 kB / 0.7398 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.2933, allocations: 222.3 kB / 0.74 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.122e-05/0.2934, allocations: 59.92 kB / 0.7401 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2934, allocations: 3.984 kB / 0.7401 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002876/0.2937, allocations: 189.4 kB / 0.7402 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2937, allocations: 10.34 kB / 0.7402 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2937, allocations: 7.938 kB / 0.7403 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2938, allocations: 11.98 kB / 0.7403 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2939, allocations: 35.92 kB / 0.7403 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.2939, allocations: 8 kB / 0.7403 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.294, allocations: 27.69 kB / 0.7403 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.294, allocations: 16.36 kB / 0.7404 GB, free: 2.473 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.2942, allocations: 221 kB / 0.7406 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.2942, allocations: 114.7 kB / 0.7407 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.2943, allocations: 112.8 kB / 0.7408 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.124e-05/0.2944, allocations: 180.3 kB / 0.741 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.043e-05/0.2944, allocations: 184.2 kB / 0.7411 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.29e-05/0.2945, allocations: 180.3 kB / 0.7413 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.2947, allocations: 429.1 kB / 0.7417 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.628e-05/0.2948, allocations: 101 kB / 0.7418 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.2948, allocations: 101 kB / 0.7419 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-05/0.2949, allocations: 180.2 kB / 0.7421 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/0.295, allocations: 184.3 kB / 0.7422 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.606e-05/0.295, allocations: 180.2 kB / 0.7424 GB, free: 216 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-05/0.2951, allocations: 184.2 kB / 0.7426 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2946/0.5897, allocations: 309.3 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.5898, allocations: 189.4 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.5898, allocations: 186.3 kB / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.5899, allocations: 105.8 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.59, allocations: 185 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.59, allocations: 107.9 kB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001037/0.5901, allocations: 114.3 kB / 0.7437 GB, free: 109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5901, allocations: 1.375 kB / 0.7437 GB, free: 109 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004208/0.5905, allocations: 30.19 kB / 0.7438 GB, free: 109 MB / 0.5105 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/0.5908, allocations: 0.8329 MB / 0.7446 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.591, allocations: 79.62 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.591, allocations: 0 / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.591, allocations: 2.719 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.5912, allocations: 0.5314 MB / 0.7452 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.5917, allocations: 286.3 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.5918, allocations: 0.6951 MB / 0.7461 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.592, allocations: 57.8 kB / 0.7462 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.592, allocations: 20.77 kB / 0.7462 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.592, allocations: 0 / 0.7462 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.6052, allocations: 2.809 MB / 0.7489 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.6055, allocations: 194.3 kB / 0.7491 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.151, allocations: 3.938 kB / 0.7491 GB, free: 106.3 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)