Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) 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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004673/0.004673, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.001137/0.001138, allocations: 187.2 kB / 16.67 MB, free: 5.523 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8194/0.8194, allocations: 132.2 MB / 422.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001878, allocations: 69.92 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1824, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001825/0.1843, allocations: 0.5935 MB / 0.6598 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.1846, allocations: 75.78 kB / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.1847, allocations: 0 / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.1847, allocations: 0 / 0.6599 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.1848, allocations: 11.92 kB / 0.6599 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1851, allocations: 35.95 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.1852, allocations: 23.92 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.1853, allocations: 11.92 kB / 0.66 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.867e-05/0.1853, allocations: 15.98 kB / 0.66 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1855, allocations: 67.88 kB / 0.66 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1855, allocations: 4 kB / 0.66 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.1856, allocations: 31.97 kB / 0.6601 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.1857, allocations: 19.97 kB / 0.6601 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.1857, allocations: 27.81 kB / 0.6601 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1858, allocations: 55.86 kB / 0.6602 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1859, allocations: 7.984 kB / 0.6602 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1859, allocations: 0 / 0.6602 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.1859, allocations: 0 / 0.6602 GB, free: 9.785 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.0003687/0.1862, allocations: 366.2 kB / 0.6605 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1863, allocations: 15.97 kB / 0.6605 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.1864, allocations: 42.73 kB / 0.6606 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1864, allocations: 4.938 kB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1865, allocations: 171.7 kB / 0.6608 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1865, allocations: 4.375 kB / 0.6608 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1865, allocations: 384 / 0.6608 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1868, allocations: 187.2 kB / 0.6609 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1868, allocations: 0 / 0.6609 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1869, allocations: 4 kB / 0.6609 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.1869, allocations: 23.98 kB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.187, allocations: 39.84 kB / 0.661 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.1877, allocations: 0.9062 MB / 0.6619 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.1878, allocations: 169.4 kB / 0.662 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.1878, allocations: 88.17 kB / 0.6621 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.1879, allocations: 75.28 kB / 0.6622 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/0.1879, allocations: 113.8 kB / 0.6623 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.188, allocations: 0 / 0.6623 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.145e-05/0.188, allocations: 33.61 kB / 0.6623 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/0.1882, allocations: 391.7 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1884, allocations: 168.4 kB / 0.6629 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1884, allocations: 29.7 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1885, allocations: 151.1 kB / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/0.1886, allocations: 0 / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/0.1887, allocations: 57.61 kB / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1888, allocations: 326.8 kB / 0.6634 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.1889, allocations: 23.98 kB / 0.6634 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.1892, allocations: 218.5 kB / 0.6636 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.1894, allocations: 197.8 kB / 0.6638 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1894, allocations: 4 kB / 0.6638 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003561/0.1898, allocations: 185.7 kB / 0.664 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1898, allocations: 17.42 kB / 0.664 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1898, allocations: 4 kB / 0.664 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.1899, allocations: 11.94 kB / 0.6641 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.19, allocations: 39.92 kB / 0.6641 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.19, allocations: 15.88 kB / 0.6641 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.75e-05/0.1901, allocations: 19.78 kB / 0.6641 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1902, allocations: 16 kB / 0.6641 GB, free: 5.242 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 0.0001743/0.1903, allocations: 213 kB / 0.6643 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/0.1904, allocations: 112.9 kB / 0.6644 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.093e-05/0.1905, allocations: 124.7 kB / 0.6646 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/0.1906, allocations: 176.4 kB / 0.6647 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-05/0.1907, allocations: 188.1 kB / 0.6649 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.489e-05/0.1908, allocations: 176.3 kB / 0.6651 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.1911, allocations: 429.2 kB / 0.6655 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-05/0.1912, allocations: 104.9 kB / 0.6656 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.1912, allocations: 101 kB / 0.6657 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.451e-05/0.1913, allocations: 184.2 kB / 0.6659 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.1914, allocations: 184.2 kB / 0.666 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.948e-05/0.1914, allocations: 180.2 kB / 0.6662 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.322e-05/0.1915, allocations: 184.2 kB / 0.6664 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.1917, allocations: 311.7 kB / 0.6667 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.1918, allocations: 190 kB / 0.6669 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.1918, allocations: 188.1 kB / 0.667 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.192, allocations: 109 kB / 0.6671 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.192, allocations: 188.6 kB / 0.6673 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.1921, allocations: 104.9 kB / 0.6674 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.1921, allocations: 117.5 kB / 0.6675 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1921, allocations: 0 / 0.6675 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003607/0.1925, allocations: 28 kB / 0.6676 GB, free: 1.5 MB / 0.4981 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.0004713/0.193, allocations: 0.8243 MB / 0.6684 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1932, allocations: 80.64 kB / 0.6684 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.1932, allocations: 384 / 0.6685 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.1932, allocations: 8 kB / 0.6685 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1936, allocations: 463.7 kB / 0.6689 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.1941, allocations: 278.4 kB / 0.6692 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1944, allocations: 0.6929 MB / 0.6698 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.1946, allocations: 52.38 kB / 0.6699 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.1947, allocations: 23.44 kB / 0.6699 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1947, allocations: 3.938 kB / 0.6699 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.2161, allocations: 2.932 MB / 0.6728 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.55, allocations: 7.922 kB / 0.6728 GB, free: 12.19 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)