Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001252/0.001252, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 286.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8857/0.8857, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.00192, allocations: 91.86 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4093, allocations: 86.98 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001442/0.4108, allocations: 0.6019 MB / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.4111, allocations: 67.78 kB / 0.7677 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.4111, allocations: 0 / 0.7677 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.4112, allocations: 4 kB / 0.7677 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.4112, allocations: 11.94 kB / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.4115, allocations: 39.94 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.4115, allocations: 27.86 kB / 0.7678 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.4116, allocations: 11.97 kB / 0.7678 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.4116, allocations: 8 kB / 0.7678 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.4118, allocations: 55.95 kB / 0.7679 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.4118, allocations: 4 kB / 0.7679 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.4119, allocations: 39.95 kB / 0.7679 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.4119, allocations: 23.91 kB / 0.768 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.4119, allocations: 23.88 kB / 0.768 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.4121, allocations: 59.8 kB / 0.768 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4121, allocations: 4 kB / 0.768 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4121, allocations: 0 / 0.768 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.269e-06/0.4121, allocations: 0 / 0.768 GB, free: 2.891 MB / 0.5294 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.0002945/0.4124, allocations: 371.1 kB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.4124, allocations: 8.031 kB / 0.7684 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.4125, allocations: 12.78 kB / 0.7684 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/0.4125, allocations: 166.9 kB / 0.7686 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4126, allocations: 16.31 kB / 0.7686 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.4126, allocations: 384 / 0.7686 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.4128, allocations: 179.4 kB / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.4128, allocations: 0 / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4128, allocations: 4 kB / 0.7688 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.4129, allocations: 23.97 kB / 0.7688 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.907e-05/0.4129, allocations: 43.84 kB / 0.7688 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.4135, allocations: 0.8984 MB / 0.7697 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/0.4136, allocations: 173.1 kB / 0.7699 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.4136, allocations: 80.14 kB / 0.7699 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.4136, allocations: 75.28 kB / 0.77 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4137, allocations: 117.8 kB / 0.7701 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4137, allocations: 0 / 0.7701 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.018e-05/0.4137, allocations: 41.55 kB / 0.7702 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.4139, allocations: 387.7 kB / 0.7705 GB, free: 48 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.414, allocations: 169 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.414, allocations: 25.7 kB / 0.7707 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.4141, allocations: 147.2 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.4141, allocations: 3.938 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.4142, allocations: 65.59 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.4143, allocations: 318.8 kB / 0.7712 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.4143, allocations: 27.97 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.4145, allocations: 222.6 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.4146, allocations: 197.8 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4146, allocations: 0 / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002641/0.4149, allocations: 193.1 kB / 0.7719 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4149, allocations: 11.94 kB / 0.7719 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.4149, allocations: 4 kB / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.415, allocations: 8.594 kB / 0.7719 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4151, allocations: 43.92 kB / 0.7719 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4151, allocations: 8 kB / 0.7719 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.756e-05/0.4152, allocations: 19.84 kB / 0.7719 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4152, allocations: 16 kB / 0.772 GB, free: 14.4 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.4153, allocations: 215.4 kB / 0.7722 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.4154, allocations: 112.8 kB / 0.7723 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.4154, allocations: 116.8 kB / 0.7724 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/0.4155, allocations: 188.1 kB / 0.7726 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-05/0.4155, allocations: 184.2 kB / 0.7727 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.681e-05/0.4156, allocations: 176.3 kB / 0.7729 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.4158, allocations: 425.1 kB / 0.7733 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/0.4158, allocations: 102.8 kB / 0.7734 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.4159, allocations: 105 kB / 0.7735 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.121e-05/0.4159, allocations: 184.2 kB / 0.7737 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.416, allocations: 184.2 kB / 0.7739 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.497e-05/0.416, allocations: 188.1 kB / 0.774 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.433e-05/0.4161, allocations: 180.3 kB / 0.7742 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.4162, allocations: 315.7 kB / 0.7745 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.4163, allocations: 190 kB / 0.7747 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/0.4164, allocations: 180.2 kB / 0.7749 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.4165, allocations: 108.9 kB / 0.775 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.4165, allocations: 188.2 kB / 0.7751 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.4166, allocations: 113 kB / 0.7753 GB, free: 10.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.4166, allocations: 113.9 kB / 0.7754 GB, free: 10.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4167, allocations: 0 / 0.7754 GB, free: 10.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002817/0.4169, allocations: 28 kB / 0.7754 GB, free: 10.66 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: 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 (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.0001599/0.4171, allocations: 178.5 kB / 0.7756 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.4172, allocations: 76.66 kB / 0.7756 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4173, allocations: 4 kB / 0.7756 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.4173, allocations: 4.266 kB / 0.7756 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.4176, allocations: 478.5 kB / 0.7761 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.4178, allocations: 243 kB / 0.7763 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.4181, allocations: 0.7006 MB / 0.777 GB, free: 8.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.4181, allocations: 15.44 kB / 0.777 GB, free: 8.914 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4181, allocations: 0 / 0.777 GB, free: 8.914 MB / 0.545 GB Notification: Performance of Templates: time 0.002844/0.4209, allocations: 1.718 MB / 0.7787 GB, free: 7.215 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)