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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004934/0.004935, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001173/0.001173, allocations: 194 kB / 16.67 MB, free: 6.379 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7383/0.7383, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 64.03 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3932, allocations: 80.21 MB / 0.6592 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001427/0.3947, allocations: 0.5244 MB / 0.6597 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.3952, allocations: 326.5 kB / 0.66 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.3953, allocations: 1.375 kB / 0.66 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.298e-05/0.3953, allocations: 3.938 kB / 0.66 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.295e-05/0.3953, allocations: 0 / 0.66 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.3957, allocations: 105.2 kB / 0.6601 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.3958, allocations: 12.17 kB / 0.6601 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.3958, allocations: 2.125 kB / 0.6601 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.3958, allocations: 2.75 kB / 0.6601 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.3959, allocations: 8.719 kB / 0.6601 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.3959, allocations: 0 / 0.6601 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.3962, allocations: 194.8 kB / 0.6603 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.3962, allocations: 2.172 kB / 0.6603 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.3963, allocations: 1.984 kB / 0.6603 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3964, allocations: 93.19 kB / 0.6604 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3964, allocations: 0 / 0.6604 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3964, allocations: 0 / 0.6604 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3964, allocations: 0 / 0.6604 GB, free: 9.312 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002656/0.3967, allocations: 333.8 kB / 0.6607 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3968, allocations: 9.625 kB / 0.6607 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.3968, allocations: 30.75 kB / 0.6608 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.3968, allocations: 6.922 kB / 0.6608 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.941e-05/0.3969, allocations: 170.9 kB / 0.6609 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3969, allocations: 1.75 kB / 0.6609 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3969, allocations: 5.5 kB / 0.6609 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/0.397, allocations: 36.59 kB / 0.661 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.397, allocations: 0 / 0.661 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.397, allocations: 1.375 kB / 0.661 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3971, allocations: 0 / 0.661 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.3971, allocations: 3.547 kB / 0.661 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.3972, allocations: 161.2 kB / 0.6611 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.041e-05/0.3973, allocations: 24.14 kB / 0.6612 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.3973, allocations: 11.55 kB / 0.6612 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004624/0.3978, allocations: 0.5871 MB / 0.6617 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.3978, allocations: 32.66 kB / 0.6618 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3978, allocations: 3.938 kB / 0.6618 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003902/0.3982, allocations: 257 kB / 0.662 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.3982, allocations: 51.92 kB / 0.6621 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.3983, allocations: 99.91 kB / 0.6622 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.3983, allocations: 29.7 kB / 0.6622 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.3983, allocations: 86.05 kB / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3984, allocations: 5.891 kB / 0.6623 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.3984, allocations: 19.03 kB / 0.6623 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.3984, allocations: 313.4 kB / 0.6626 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.3985, allocations: 3.625 kB / 0.6626 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.3985, allocations: 20.75 kB / 0.6626 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.3985, allocations: 32.72 kB / 0.6627 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3985, allocations: 0 / 0.6627 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.42e-05/0.3986, allocations: 56.11 kB / 0.6627 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3986, allocations: 6.188 kB / 0.6627 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3986, allocations: 0.7031 kB / 0.6627 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3987, allocations: 1.188 kB / 0.6627 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.3987, allocations: 6.312 kB / 0.6627 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3987, allocations: 5.953 kB / 0.6627 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.3987, allocations: 5.344 kB / 0.6627 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3987, allocations: 5.812 kB / 0.6627 GB, free: 6.73 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.3988, allocations: 113.7 kB / 0.6629 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.3988, allocations: 5.188 kB / 0.6629 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3989, allocations: 55.12 kB / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3989, allocations: 1.469 kB / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3989, allocations: 0.5625 kB / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3989, allocations: 4 kB / 0.6629 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.331e-05/0.399, allocations: 158.8 kB / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.399, allocations: 0 / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.3991, allocations: 6.969 kB / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3991, allocations: 0 / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3991, allocations: 1.219 kB / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3991, allocations: 0.7031 kB / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3991, allocations: 0 / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.3992, allocations: 88.41 kB / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.3992, allocations: 79.19 kB / 0.6632 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.3992, allocations: 3.938 kB / 0.6632 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/0.3993, allocations: 6.109 kB / 0.6632 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.3993, allocations: 2.406 kB / 0.6632 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.3993, allocations: 5.828 kB / 0.6633 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.783e-05/0.3993, allocations: 82.66 kB / 0.6633 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3993, allocations: 1.406 kB / 0.6633 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002039/0.3995, allocations: 27.38 kB / 0.6634 GB, free: 6.09 MB / 0.4981 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 () * Number of clocked 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 (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.0003206/0.3999, allocations: 0.6431 MB / 0.664 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.949e-05/0.3999, allocations: 18.48 kB / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4, allocations: 0 / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.4, allocations: 11.78 kB / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.4001, allocations: 2.125 kB / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.4008, allocations: 1.146 MB / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.899e-05/0.4009, allocations: 0.6773 MB / 0.6658 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.4009, allocations: 3.172 kB / 0.6658 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.4009, allocations: 14.3 kB / 0.6658 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4009, allocations: 0 / 0.6658 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.4205, allocations: 2.092 MB / 0.6679 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.634, allocations: 8.578 kB / 0.6679 GB, free: 2.676 MB / 0.4981 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/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)