Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001336/0.001336, allocations: 110.3 kB / 16.46 MB, free: 6.504 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.001518/0.001518, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.064/1.064, allocations: 175.8 MB / 478.4 MB, free: 8.457 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 72.08 kB / 0.6652 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1897, allocations: 94.54 MB / 0.7576 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001819/0.1916, allocations: 0.6075 MB / 0.7582 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003581/0.1919, allocations: 81.89 kB / 0.7582 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.1919, allocations: 0 / 0.7582 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.192, allocations: 7.922 kB / 0.7582 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.192, allocations: 4 kB / 0.7583 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1923, allocations: 47.88 kB / 0.7583 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.1924, allocations: 23.97 kB / 0.7583 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.1925, allocations: 0 / 0.7583 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.1925, allocations: 15.98 kB / 0.7583 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1927, allocations: 67.88 kB / 0.7584 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1927, allocations: 0 / 0.7584 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1928, allocations: 39.95 kB / 0.7584 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.1929, allocations: 27.91 kB / 0.7585 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.1929, allocations: 11.88 kB / 0.7585 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.193, allocations: 68.02 kB / 0.7585 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.193, allocations: 0 / 0.7585 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.193, allocations: 3.938 kB / 0.7585 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1931, allocations: 0 / 0.7585 GB, free: 0.875 MB / 0.5762 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.000442/0.1935, allocations: 375.2 kB / 0.7589 GB, free: 468 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1935, allocations: 8.031 kB / 0.7589 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.1936, allocations: 38.73 kB / 0.7589 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.1936, allocations: 12.89 kB / 0.759 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1937, allocations: 164.4 kB / 0.7591 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1938, allocations: 384 / 0.7591 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1938, allocations: 4.359 kB / 0.7591 GB, free: 192 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4244/0.6182, allocations: 180 kB / 0.7593 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.6182, allocations: 0 / 0.7593 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.6183, allocations: 4.906 kB / 0.7593 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.6183, allocations: 22.41 kB / 0.7593 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.6185, allocations: 39.95 kB / 0.7594 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.6191, allocations: 0.9074 MB / 0.7602 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.298e-05/0.6192, allocations: 168.1 kB / 0.7604 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.6192, allocations: 81.11 kB / 0.7605 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.6192, allocations: 76.72 kB / 0.7606 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.6193, allocations: 115.7 kB / 0.7607 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.6193, allocations: 1.281 kB / 0.7607 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.72e-05/0.6194, allocations: 36.27 kB / 0.7607 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.6194, allocations: 393.2 kB / 0.7611 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.6196, allocations: 163.4 kB / 0.7612 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.6196, allocations: 27.52 kB / 0.7613 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.6197, allocations: 161.2 kB / 0.7614 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.6197, allocations: 8.234 kB / 0.7614 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.6198, allocations: 53.89 kB / 0.7615 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.6199, allocations: 319.7 kB / 0.7618 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/0.62, allocations: 26.56 kB / 0.7618 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.6202, allocations: 225.5 kB / 0.762 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.6204, allocations: 203.7 kB / 0.7622 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.6204, allocations: 2 kB / 0.7622 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003917/0.6208, allocations: 188 kB / 0.7624 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.6208, allocations: 10.84 kB / 0.7624 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.6208, allocations: 8.094 kB / 0.7624 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.6209, allocations: 6.219 kB / 0.7624 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.621, allocations: 38.03 kB / 0.7624 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.621, allocations: 9.156 kB / 0.7625 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.6211, allocations: 30.92 kB / 0.7625 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.6212, allocations: 13.36 kB / 0.7625 GB, free: 6.379 MB / 0.5762 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.0001177/0.6213, allocations: 219.9 kB / 0.7627 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.6213, allocations: 119.4 kB / 0.7628 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.6214, allocations: 110.8 kB / 0.7629 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/0.6214, allocations: 182.9 kB / 0.7631 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-05/0.6215, allocations: 178.8 kB / 0.7633 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.824e-05/0.6215, allocations: 188.4 kB / 0.7635 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.6217, allocations: 417.2 kB / 0.7639 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.6217, allocations: 108.6 kB / 0.764 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.6217, allocations: 102.6 kB / 0.7641 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.222e-05/0.6218, allocations: 185.7 kB / 0.7642 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.6218, allocations: 181.6 kB / 0.7644 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.424e-05/0.6218, allocations: 182.8 kB / 0.7646 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.042e-05/0.6219, allocations: 180.9 kB / 0.7648 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.6222, allocations: 315.4 kB / 0.7651 GB, free: 19.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.6223, allocations: 188.3 kB / 0.7652 GB, free: 19.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.6224, allocations: 192.2 kB / 0.7654 GB, free: 19.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.6225, allocations: 107.6 kB / 0.7655 GB, free: 19.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.6226, allocations: 184.8 kB / 0.7657 GB, free: 19.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.6227, allocations: 102.4 kB / 0.7658 GB, free: 18.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.53e-05/0.6228, allocations: 117.9 kB / 0.7659 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6228, allocations: 0 / 0.7659 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000396/0.6231, allocations: 28.12 kB / 0.7659 GB, free: 18.87 MB / 0.5919 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.0005474/0.6237, allocations: 0.8261 MB / 0.7667 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.6239, allocations: 77.72 kB / 0.7668 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6239, allocations: 0.5625 kB / 0.7668 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.6239, allocations: 0.7812 kB / 0.7668 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.6243, allocations: 466.8 kB / 0.7673 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.625, allocations: 273.2 kB / 0.7675 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.6253, allocations: 0.6964 MB / 0.7682 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002817/0.6256, allocations: 56.84 kB / 0.7683 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.6257, allocations: 21.8 kB / 0.7683 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.6257, allocations: 0 / 0.7683 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.651, allocations: 2.955 MB / 0.7712 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.818, allocations: 5.312 kB / 0.7712 GB, free: 16.19 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.66119037894532] Failed to read output from testmodel.py, exit status != 0: 8.890185312833637 8.91330046 8.715487133 Calling exit ...