Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7416/0.7416, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 97.95 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.355e-05, allocations: 4 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5117, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.6631, allocations: 110.4 MB / 0.7417 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.6634, allocations: 79.95 kB / 0.7418 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00608/0.6695, allocations: 1.809 MB / 0.7436 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6696, allocations: 0 / 0.7436 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.6696, allocations: 0 / 0.7436 GB, free: 10.38 MB / 0.5261 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.0003175/0.6699, allocations: 342.4 kB / 0.7439 GB, free: 10 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.67, allocations: 12.03 kB / 0.7439 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.67, allocations: 0 / 0.7439 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.6702, allocations: 170.9 kB / 0.7441 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.6702, allocations: 0 / 0.7441 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.6702, allocations: 0 / 0.7441 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.126e-05/0.6703, allocations: 4 kB / 0.7441 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.549e-05/0.6703, allocations: 33.69 kB / 0.7441 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6704, allocations: 0 / 0.7441 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6704, allocations: 0 / 0.7441 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6704, allocations: 0 / 0.7441 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.6706, allocations: 150.1 kB / 0.7442 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.706e-05/0.6706, allocations: 22.53 kB / 0.7443 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.6707, allocations: 4.859 kB / 0.7443 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/0.6712, allocations: 0.5895 MB / 0.7448 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.6713, allocations: 38.55 kB / 0.7449 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6713, allocations: 0 / 0.7449 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005827/0.6719, allocations: 242.3 kB / 0.7451 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.6719, allocations: 55.41 kB / 0.7452 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.672, allocations: 85.31 kB / 0.7452 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.672, allocations: 33.7 kB / 0.7453 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.6721, allocations: 80.14 kB / 0.7454 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.6721, allocations: 7.906 kB / 0.7454 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.6721, allocations: 0 / 0.7454 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6722, allocations: 314.8 kB / 0.7457 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.6722, allocations: 4 kB / 0.7457 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.6723, allocations: 21.75 kB / 0.7457 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.6723, allocations: 12 kB / 0.7457 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.6723, allocations: 0 / 0.7457 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.6724, allocations: 57.58 kB / 0.7457 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6725, allocations: 4 kB / 0.7458 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6725, allocations: 0 / 0.7458 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6725, allocations: 0 / 0.7458 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.6726, allocations: 8 kB / 0.7458 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.6726, allocations: 0 / 0.7458 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.6726, allocations: 0 / 0.7458 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.6726, allocations: 8.062 kB / 0.7458 GB, free: 7.738 MB / 0.5261 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 6.606e-05/0.6727, allocations: 104.9 kB / 0.7459 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.22e-05/0.6728, allocations: 53.55 kB / 0.7459 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.6728, allocations: 0 / 0.7459 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.6729, allocations: 53.8 kB / 0.746 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6729, allocations: 4 kB / 0.746 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6729, allocations: 0 / 0.746 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6729, allocations: 0 / 0.746 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.353e-05/0.673, allocations: 130.2 kB / 0.7461 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6731, allocations: 4 kB / 0.7461 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.6731, allocations: 11.89 kB / 0.7461 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6731, allocations: 0 / 0.7461 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.6731, allocations: 3.938 kB / 0.7461 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6731, allocations: 4 kB / 0.7461 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6732, allocations: 0 / 0.7461 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.6733, allocations: 73.12 kB / 0.7462 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.6733, allocations: 81.09 kB / 0.7463 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.6734, allocations: 8.016 kB / 0.7463 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/0.6734, allocations: 4.031 kB / 0.7463 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.6734, allocations: 0 / 0.7463 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.6734, allocations: 3.938 kB / 0.7463 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.6735, allocations: 79.28 kB / 0.7464 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6735, allocations: 0 / 0.7464 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002272/0.6737, allocations: 39.92 kB / 0.7464 GB, free: 7 MB / 0.5261 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.0004816/0.6742, allocations: 0.6436 MB / 0.747 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.6743, allocations: 16 kB / 0.747 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6743, allocations: 0 / 0.747 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.6743, allocations: 8.359 kB / 0.747 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.6745, allocations: 11.94 kB / 0.7471 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.6748, allocations: 123.6 kB / 0.7472 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.6751, allocations: 0.6847 MB / 0.7478 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.6751, allocations: 4 kB / 0.7479 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.6751, allocations: 7.438 kB / 0.7479 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.6752, allocations: 4 kB / 0.7479 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.6969, allocations: 1.425 MB / 0.7493 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.6972, allocations: 165.2 kB / 0.7494 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.287, allocations: 0 / 0.7494 GB, free: 3.793 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)