Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002173/0.002173, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 85.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3022/0.3022, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.013e-05, allocations: 0 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4088, allocations: 58.85 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5744, allocations: 86.82 MB / 0.5508 GB, free: 12.46 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5748, allocations: 67.47 kB / 0.5508 GB, free: 12.39 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02337/0.5981, allocations: 4.555 MB / 0.5553 GB, free: 7.84 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5982, allocations: 0 / 0.5553 GB, free: 7.84 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.5982, allocations: 4 kB / 0.5553 GB, free: 7.836 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008853/0.5991, allocations: 442.8 kB / 0.5557 GB, free: 7.359 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5992, allocations: 12.03 kB / 0.5557 GB, free: 7.348 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.5993, allocations: 15.81 kB / 0.5557 GB, free: 7.332 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.5997, allocations: 229.6 kB / 0.556 GB, free: 7.07 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5997, allocations: 0 / 0.556 GB, free: 7.07 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.5998, allocations: 8 kB / 0.556 GB, free: 7.062 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002122/0.6, allocations: 63.89 kB / 0.556 GB, free: 7 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.6003, allocations: 123.3 kB / 0.5561 GB, free: 6.867 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.6004, allocations: 4 kB / 0.5561 GB, free: 6.863 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.6004, allocations: 0 / 0.5561 GB, free: 6.863 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.6004, allocations: 0 / 0.5561 GB, free: 6.863 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.6017, allocations: 440.8 kB / 0.5566 GB, free: 6.395 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.6025, allocations: 154.6 kB / 0.5567 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.6026, allocations: 32.86 kB / 0.5567 GB, free: 6.199 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.6027, allocations: 3.953 kB / 0.5567 GB, free: 6.195 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.6027, allocations: 38.56 kB / 0.5568 GB, free: 6.148 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.6027, allocations: 0 / 0.5568 GB, free: 6.148 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003471/0.6031, allocations: 89.88 kB / 0.5569 GB, free: 6.055 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.6032, allocations: 106.8 kB / 0.557 GB, free: 5.926 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.6034, allocations: 133.4 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.6034, allocations: 25.7 kB / 0.5571 GB, free: 5.758 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.6035, allocations: 178.4 kB / 0.5573 GB, free: 5.582 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.6036, allocations: 23.62 kB / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.6036, allocations: 0 / 0.5573 GB, free: 5.559 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6038, allocations: 320 kB / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.6039, allocations: 27.94 kB / 0.5576 GB, free: 5.211 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.604, allocations: 42.58 kB / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.6041, allocations: 23.98 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6041, allocations: 0 / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002476/0.6043, allocations: 77.69 kB / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.6044, allocations: 104.9 kB / 0.5579 GB, free: 4.945 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6045, allocations: 0 / 0.5579 GB, free: 4.945 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6045, allocations: 0 / 0.5579 GB, free: 4.945 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.6049, allocations: 51.94 kB / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.6049, allocations: 0 / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.6052, allocations: 39.91 kB / 0.558 GB, free: 4.855 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.6052, allocations: 0 / 0.558 GB, free: 4.855 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.6052, allocations: 4 kB / 0.558 GB, free: 4.852 MB / 395.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001362/0.6054, allocations: 35.98 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.6054, allocations: 0 / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/0.6054, allocations: 0 / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.6056, allocations: 31.92 kB / 0.558 GB, free: 4.785 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.6056, allocations: 4 kB / 0.558 GB, free: 4.781 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.6057, allocations: 15.94 kB / 0.5581 GB, free: 4.766 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6058, allocations: 7.938 kB / 0.5581 GB, free: 4.758 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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.000117/0.6059, allocations: 101 kB / 0.5582 GB, free: 4.652 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002456/0.6061, allocations: 85.88 kB / 0.5582 GB, free: 4.562 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.6062, allocations: 15.91 kB / 0.5583 GB, free: 4.547 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.6063, allocations: 12.62 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6063, allocations: 3.953 kB / 0.5583 GB, free: 4.535 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.6063, allocations: 3.984 kB / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.6063, allocations: 0 / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.6067, allocations: 194.2 kB / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6067, allocations: 0 / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.607, allocations: 55.89 kB / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.6071, allocations: 0 / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.6071, allocations: 0 / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6071, allocations: 0 / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6071, allocations: 0 / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.6075, allocations: 223.4 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.6076, allocations: 89.03 kB / 0.5588 GB, free: 3.91 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.6077, allocations: 0 / 0.5588 GB, free: 3.91 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.6082, allocations: 52.02 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.6083, allocations: 11.98 kB / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.6083, allocations: 4 kB / 0.5589 GB, free: 3.844 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.6084, allocations: 112.1 kB / 0.559 GB, free: 3.734 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6085, allocations: 0 / 0.559 GB, free: 3.734 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005192/0.609, allocations: 43.73 kB / 0.559 GB, free: 3.691 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008133/0.6098, allocations: 0.7475 MB / 0.5598 GB, free: 2.914 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.6102, allocations: 87.97 kB / 0.5598 GB, free: 2.828 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6102, allocations: 4 kB / 0.5599 GB, free: 2.824 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.282e-05/0.6103, allocations: 24 kB / 0.5599 GB, free: 2.801 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.6108, allocations: 27.97 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.6116, allocations: 222.2 kB / 0.5601 GB, free: 2.512 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.612, allocations: 0.7161 MB / 0.5608 GB, free: 1.77 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.6121, allocations: 39.42 kB / 0.5608 GB, free: 1.73 MB / 395.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6121, allocations: 0 / 0.5608 GB, free: 1.73 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.483/3.095, allocations: 2.27 MB / 0.5631 GB, free: 15.48 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe 2>&1)