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.7478/0.7478, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 191.8 kB / 169.7 MB, free: 1.727 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.764/1.764, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0008601/0.0008602, allocations: 92.42 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.224e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 76.77 MB / 0.6283 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5443/0.6854, allocations: 102.3 MB / 0.7282 GB, free: 11.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.6858, allocations: 76.02 kB / 0.7282 GB, free: 11.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00332/0.6891, allocations: 1.257 MB / 0.7295 GB, free: 9.836 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6891, allocations: 0 / 0.7295 GB, free: 9.836 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.6891, allocations: 4 kB / 0.7295 GB, free: 9.832 MB / 490.7 MB 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.0003261/0.6895, allocations: 347 kB / 0.7298 GB, free: 9.457 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.6895, allocations: 8.031 kB / 0.7298 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.6896, allocations: 42.25 kB / 0.7298 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.6896, allocations: 11.86 kB / 0.7299 GB, free: 9.391 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.6898, allocations: 170.9 kB / 0.73 GB, free: 9.184 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6898, allocations: 4 kB / 0.73 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.6898, allocations: 3.984 kB / 0.73 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.6901, allocations: 156.2 kB / 0.7302 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.6901, allocations: 7.984 kB / 0.7302 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.6901, allocations: 8.641 kB / 0.7302 GB, free: 9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.6902, allocations: 23.92 kB / 0.7302 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.075e-05/0.6902, allocations: 42.75 kB / 0.7303 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.691, allocations: 0.8862 MB / 0.7311 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.6911, allocations: 165.1 kB / 0.7313 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.6912, allocations: 80.14 kB / 0.7314 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.6912, allocations: 88.41 kB / 0.7314 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/0.6913, allocations: 112.5 kB / 0.7315 GB, free: 7.562 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.6913, allocations: 0 / 0.7315 GB, free: 7.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 9.654e-05/0.6914, allocations: 41.55 kB / 0.7316 GB, free: 7.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.6916, allocations: 391.6 kB / 0.732 GB, free: 7.062 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.6917, allocations: 147.9 kB / 0.7321 GB, free: 6.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.6918, allocations: 29.02 kB / 0.7321 GB, free: 6.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.6919, allocations: 157.8 kB / 0.7323 GB, free: 6.742 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.6919, allocations: 4 kB / 0.7323 GB, free: 6.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.6919, allocations: 3.875 kB / 0.7323 GB, free: 6.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.692, allocations: 322.6 kB / 0.7326 GB, free: 6.418 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.6921, allocations: 20.25 kB / 0.7326 GB, free: 6.402 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.6922, allocations: 217.9 kB / 0.7328 GB, free: 6.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.6923, allocations: 67.08 kB / 0.7329 GB, free: 6.047 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6923, allocations: 0 / 0.7329 GB, free: 6.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002908/0.6926, allocations: 190.8 kB / 0.7331 GB, free: 5.875 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6927, allocations: 8 kB / 0.7331 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6927, allocations: 4 kB / 0.7331 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.6927, allocations: 8 kB / 0.7331 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.6928, allocations: 37.05 kB / 0.7331 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6929, allocations: 11.94 kB / 0.7331 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.693, allocations: 31.72 kB / 0.7332 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.693, allocations: 8.344 kB / 0.7332 GB, free: 5.773 MB / 490.7 MB 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 () * 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.0001208/0.6931, allocations: 202.7 kB / 0.7334 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.6932, allocations: 116.8 kB / 0.7335 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.6932, allocations: 111.6 kB / 0.7336 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.555e-05/0.6933, allocations: 184.5 kB / 0.7338 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-05/0.6934, allocations: 176.3 kB / 0.7339 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.406e-05/0.6935, allocations: 188.3 kB / 0.7341 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.6937, allocations: 426.4 kB / 0.7345 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/0.6938, allocations: 108.9 kB / 0.7346 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.6938, allocations: 108.9 kB / 0.7347 GB, free: 4.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.919e-05/0.6939, allocations: 177.2 kB / 0.7349 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/0.694, allocations: 176.3 kB / 0.7351 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.726e-05/0.694, allocations: 184.2 kB / 0.7352 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.709e-05/0.6941, allocations: 183.6 kB / 0.7354 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.6943, allocations: 319.2 kB / 0.7357 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.6944, allocations: 182 kB / 0.7359 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.6945, allocations: 188.2 kB / 0.7361 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.6946, allocations: 109.2 kB / 0.7362 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.6947, allocations: 183.7 kB / 0.7363 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.6947, allocations: 105 kB / 0.7364 GB, free: 2.234 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.777e-05/0.6948, allocations: 113.3 kB / 0.7366 GB, free: 2.133 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6948, allocations: 0 / 0.7366 GB, free: 2.133 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.6951, allocations: 31.11 kB / 0.7366 GB, free: 2.105 MB / 490.7 MB 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 () * 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.0005078/0.6956, allocations: 0.8383 MB / 0.7374 GB, free: 1.246 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.6958, allocations: 79.53 kB / 0.7375 GB, free: 1.176 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6958, allocations: 0 / 0.7375 GB, free: 1.176 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6958, allocations: 0 / 0.7375 GB, free: 1.176 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.6961, allocations: 0.5255 MB / 0.738 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.6966, allocations: 233.9 kB / 0.7382 GB, free: 404 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.697, allocations: 0.6971 MB / 0.7389 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.6972, allocations: 61.55 kB / 0.739 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.6972, allocations: 22.5 kB / 0.739 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/0.6972, allocations: 0 / 0.739 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.7128, allocations: 2.811 MB / 0.7417 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.7131, allocations: 178.1 kB / 0.7419 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.358, allocations: 0 / 0.7419 GB, free: 12.7 MB / 0.4948 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)