Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 117.5 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8865/0.8865, allocations: 129.2 MB / 432.5 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.83 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4569, allocations: 83.44 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001809/0.4587, allocations: 0.6066 MB / 0.6808 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.4591, allocations: 71.92 kB / 0.6809 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.4591, allocations: 0 / 0.6809 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.4592, allocations: 5.469 kB / 0.6809 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.4592, allocations: 6.922 kB / 0.6809 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.4596, allocations: 41.42 kB / 0.6809 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.4596, allocations: 24.55 kB / 0.681 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.4597, allocations: 6.359 kB / 0.681 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.4597, allocations: 10.67 kB / 0.681 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.4599, allocations: 67.34 kB / 0.681 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.4599, allocations: 1.188 kB / 0.681 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.46, allocations: 40.61 kB / 0.6811 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.4601, allocations: 21.3 kB / 0.6811 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.4601, allocations: 21.58 kB / 0.6811 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.4602, allocations: 63.23 kB / 0.6812 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4602, allocations: 0 / 0.6812 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4602, allocations: 0 / 0.6812 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4603, allocations: 4 kB / 0.6812 GB, free: 5.309 MB / 0.4981 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.0003381/0.4606, allocations: 365.9 kB / 0.6815 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4606, allocations: 9.062 kB / 0.6815 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.4607, allocations: 47.59 kB / 0.6816 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.4607, allocations: 8.609 kB / 0.6816 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/0.4608, allocations: 169.8 kB / 0.6818 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-06/0.4608, allocations: 5.594 kB / 0.6818 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.4608, allocations: 2.844 kB / 0.6818 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.4611, allocations: 180 kB / 0.6819 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4611, allocations: 3.938 kB / 0.6819 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4611, allocations: 6.156 kB / 0.6819 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/0.4611, allocations: 18.61 kB / 0.682 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.4612, allocations: 40.77 kB / 0.682 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.4618, allocations: 0.9072 MB / 0.6829 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.4618, allocations: 174.3 kB / 0.6831 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.4618, allocations: 83.02 kB / 0.6831 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.4618, allocations: 75.28 kB / 0.6832 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4619, allocations: 112.2 kB / 0.6833 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4619, allocations: 1.25 kB / 0.6833 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.874e-05/0.462, allocations: 35.19 kB / 0.6833 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.462, allocations: 396.9 kB / 0.6837 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.4622, allocations: 160.4 kB / 0.6839 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4622, allocations: 27.77 kB / 0.6839 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.4622, allocations: 160.9 kB / 0.6841 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.4622, allocations: 1 kB / 0.6841 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.4623, allocations: 57.22 kB / 0.6841 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.4624, allocations: 324.8 kB / 0.6844 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.4624, allocations: 28.73 kB / 0.6845 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.4625, allocations: 221.4 kB / 0.6847 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4627, allocations: 202 kB / 0.6849 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4627, allocations: 1.094 kB / 0.6849 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002888/0.463, allocations: 192 kB / 0.685 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.463, allocations: 7.656 kB / 0.685 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.463, allocations: 8.5 kB / 0.6851 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.463, allocations: 10.34 kB / 0.6851 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4632, allocations: 42 kB / 0.6851 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4632, allocations: 6.656 kB / 0.6851 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.374e-05/0.4633, allocations: 31.41 kB / 0.6851 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4633, allocations: 13.81 kB / 0.6852 GB, free: 1.309 MB / 0.4981 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 9.811e-05/0.4634, allocations: 215 kB / 0.6854 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.4635, allocations: 111.2 kB / 0.6855 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.4635, allocations: 121.1 kB / 0.6856 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.4635, allocations: 181.3 kB / 0.6858 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/0.4636, allocations: 177.4 kB / 0.6859 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/0.4636, allocations: 185.3 kB / 0.6861 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.4638, allocations: 420.1 kB / 0.6865 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.594e-05/0.4639, allocations: 106 kB / 0.6866 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.4639, allocations: 104.9 kB / 0.6867 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.668e-05/0.464, allocations: 181.3 kB / 0.6869 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.4641, allocations: 189.2 kB / 0.6871 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.458e-05/0.4642, allocations: 181.5 kB / 0.6872 GB, free: 15.09 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.337e-05/0.4642, allocations: 189.3 kB / 0.6874 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.4644, allocations: 308.5 kB / 0.6877 GB, free: 14.58 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.4645, allocations: 192.7 kB / 0.6879 GB, free: 14.37 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4646, allocations: 186.3 kB / 0.6881 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.73e-05/0.4647, allocations: 108.2 kB / 0.6882 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.4648, allocations: 177.3 kB / 0.6883 GB, free: 13.89 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.4649, allocations: 106.2 kB / 0.6884 GB, free: 13.78 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 9.781e-05/0.465, allocations: 114 kB / 0.6885 GB, free: 13.69 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/0.465, allocations: 3.938 kB / 0.6885 GB, free: 13.69 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.000359/0.4653, allocations: 31 kB / 0.6886 GB, free: 13.68 MB / 0.5138 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.0006034/0.4659, allocations: 0.8258 MB / 0.6894 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.4661, allocations: 74.75 kB / 0.6895 GB, free: 12.83 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4661, allocations: 0 / 0.6895 GB, free: 12.83 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.4661, allocations: 1.188 kB / 0.6895 GB, free: 12.83 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.4666, allocations: 474.1 kB / 0.6899 GB, free: 12.37 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.4672, allocations: 286.9 kB / 0.6902 GB, free: 12.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4675, allocations: 0.6903 MB / 0.6909 GB, free: 11.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.4678, allocations: 64.17 kB / 0.6909 GB, free: 11.36 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.4678, allocations: 21.53 kB / 0.6909 GB, free: 11.35 MB / 0.5138 GB Notification: Performance of SimCode: time 3e-07/0.4678, allocations: 1.188 kB / 0.6909 GB, free: 11.35 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.4949, allocations: 2.941 MB / 0.6938 GB, free: 9.855 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.51, allocations: 8.547 kB / 0.6938 GB, free: 9.852 MB / 0.5138 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.051273904275149] Failed to read output from testmodel.py, exit status != 0: 8.578897892031819 8.593979562 8.13090508 Calling exit ...