Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 171.6 kB / 7.449 MB, free: 2.324 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.59/0.59, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.098/1.098, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 112.9 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.901e-06, allocations: 0 / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.4044, allocations: 110.3 MB / 0.7409 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.4047, allocations: 73.52 kB / 0.741 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.005246/0.4099, allocations: 1.538 MB / 0.7425 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.4099, allocations: 3.938 kB / 0.7425 GB, free: 10.62 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002349/0.4102, allocations: 337.3 kB / 0.7428 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.4102, allocations: 9.188 kB / 0.7428 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.4103, allocations: 3.906 kB / 0.7428 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/0.4104, allocations: 160.7 kB / 0.743 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.4104, allocations: 3.844 kB / 0.743 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4104, allocations: 0 / 0.743 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.278e-05/0.4104, allocations: 6.344 kB / 0.743 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.961e-05/0.4105, allocations: 35.02 kB / 0.743 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.4105, allocations: 0 / 0.743 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.4105, allocations: 0 / 0.743 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.4105, allocations: 4 kB / 0.743 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.4106, allocations: 141.6 kB / 0.7432 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.664e-05/0.4107, allocations: 20.06 kB / 0.7432 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.4107, allocations: 8.844 kB / 0.7432 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/0.4112, allocations: 0.5754 MB / 0.7438 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.4112, allocations: 38.19 kB / 0.7438 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4112, allocations: 0 / 0.7438 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004255/0.4116, allocations: 248.4 kB / 0.744 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.4117, allocations: 51.41 kB / 0.7441 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.243e-05/0.4117, allocations: 93.11 kB / 0.7442 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4117, allocations: 25.7 kB / 0.7442 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.4118, allocations: 81.45 kB / 0.7443 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.4118, allocations: 11.75 kB / 0.7443 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.4118, allocations: 0 / 0.7443 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.4119, allocations: 324 kB / 0.7446 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.4119, allocations: 3.844 kB / 0.7446 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.4119, allocations: 18.81 kB / 0.7446 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.412, allocations: 5.188 kB / 0.7446 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.51e-07/0.412, allocations: 0 / 0.7446 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.876e-05/0.4121, allocations: 55.08 kB / 0.7447 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.4121, allocations: 6.562 kB / 0.7447 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4121, allocations: 8 kB / 0.7447 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.4121, allocations: 0 / 0.7447 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.4121, allocations: 4.969 kB / 0.7447 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4122, allocations: 5.109 kB / 0.7447 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.4122, allocations: 0 / 0.7447 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.4122, allocations: 0 / 0.7447 GB, free: 24.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.087e-05/0.4122, allocations: 101 kB / 0.7448 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.4123, allocations: 7.719 kB / 0.7448 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.4124, allocations: 62.06 kB / 0.7449 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.4124, allocations: 0 / 0.7449 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4124, allocations: 0 / 0.7449 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4124, allocations: 0 / 0.7449 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.402e-05/0.4125, allocations: 133.8 kB / 0.745 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.4125, allocations: 0 / 0.745 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.4125, allocations: 4.875 kB / 0.745 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4125, allocations: 3.906 kB / 0.745 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.4125, allocations: 5.531 kB / 0.745 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4125, allocations: 0 / 0.745 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4126, allocations: 0 / 0.745 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001065/0.4127, allocations: 83.06 kB / 0.7451 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.4127, allocations: 81.08 kB / 0.7452 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.4127, allocations: 3.938 kB / 0.7452 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.4128, allocations: 2.328 kB / 0.7452 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.4128, allocations: 0 / 0.7452 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.4128, allocations: 3.875 kB / 0.7452 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.469e-05/0.4128, allocations: 80.34 kB / 0.7452 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001918/0.413, allocations: 43.78 kB / 0.7453 GB, free: 23.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000162/0.4132, allocations: 132.4 kB / 0.7454 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.397e-05/0.4132, allocations: 16.72 kB / 0.7454 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.4132, allocations: 0 / 0.7454 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.4133, allocations: 11.83 kB / 0.7454 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.589e-05/0.4133, allocations: 12.75 kB / 0.7455 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001448/0.4135, allocations: 65.38 kB / 0.7455 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.4137, allocations: 0.6966 MB / 0.7462 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.4137, allocations: 0 / 0.7462 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.002486/0.4162, allocations: 1.188 MB / 0.7474 GB, free: 22.66 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)