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.007261/0.007261, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001775/0.001775, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8128/0.8128, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 0.5809 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4279, allocations: 80.21 MB / 0.6592 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001529/0.4295, allocations: 0.528 MB / 0.6597 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005906/0.4301, allocations: 326.7 kB / 0.66 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.4301, allocations: 0 / 0.66 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.4302, allocations: 7.938 kB / 0.66 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/0.4302, allocations: 1.375 kB / 0.66 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.4306, allocations: 97.91 kB / 0.6601 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.4307, allocations: 11.33 kB / 0.6601 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.4307, allocations: 1.984 kB / 0.6601 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.96e-05/0.4307, allocations: 3.406 kB / 0.6601 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.4308, allocations: 10.67 kB / 0.6601 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.4308, allocations: 1.375 kB / 0.6601 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.4311, allocations: 191.3 kB / 0.6603 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.4312, allocations: 0.75 kB / 0.6603 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.4312, allocations: 3.406 kB / 0.6603 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.4314, allocations: 82.2 kB / 0.6604 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4314, allocations: 6.125 kB / 0.6604 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.185e-06/0.4314, allocations: 0 / 0.6604 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4314, allocations: 0 / 0.6604 GB, free: 9.223 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.0002886/0.4317, allocations: 339.5 kB / 0.6607 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4317, allocations: 13.62 kB / 0.6608 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.4318, allocations: 35.31 kB / 0.6608 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.4318, allocations: 2.312 kB / 0.6608 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.427e-05/0.4319, allocations: 163.2 kB / 0.6609 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4319, allocations: 1.75 kB / 0.6609 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.4319, allocations: 6.109 kB / 0.661 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.432, allocations: 36.02 kB / 0.661 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.432, allocations: 0 / 0.661 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.432, allocations: 4 kB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.432, allocations: 5.375 kB / 0.661 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.4321, allocations: 3.5 kB / 0.661 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.4322, allocations: 151.8 kB / 0.6611 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/0.4322, allocations: 20.92 kB / 0.6612 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.4323, allocations: 12.17 kB / 0.6612 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004699/0.4327, allocations: 0.5921 MB / 0.6618 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.4328, allocations: 34.56 kB / 0.6618 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4328, allocations: 0 / 0.6618 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004124/0.4332, allocations: 253.7 kB / 0.662 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.4332, allocations: 60.11 kB / 0.6621 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.277e-05/0.4333, allocations: 99.28 kB / 0.6622 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.4333, allocations: 27.89 kB / 0.6622 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.4333, allocations: 80.14 kB / 0.6623 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.4333, allocations: 18.39 kB / 0.6623 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.4334, allocations: 15.17 kB / 0.6623 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.4334, allocations: 316.7 kB / 0.6626 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.4334, allocations: 4.125 kB / 0.6626 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.4335, allocations: 24.86 kB / 0.6626 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.4335, allocations: 28.8 kB / 0.6627 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4335, allocations: 0 / 0.6627 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.269e-05/0.4336, allocations: 52.33 kB / 0.6627 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4336, allocations: 7.391 kB / 0.6627 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4336, allocations: 1.219 kB / 0.6627 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4336, allocations: 4.062 kB / 0.6627 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.4337, allocations: 11.92 kB / 0.6627 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.4337, allocations: 1.219 kB / 0.6627 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.4337, allocations: 0 / 0.6627 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4337, allocations: 2.016 kB / 0.6627 GB, free: 6.637 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.777e-05/0.4338, allocations: 121.5 kB / 0.6629 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.4338, allocations: 1.219 kB / 0.6629 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4339, allocations: 51.78 kB / 0.6629 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4339, allocations: 5.281 kB / 0.6629 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4339, allocations: 0 / 0.6629 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4339, allocations: 1.797 kB / 0.6629 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.583e-05/0.434, allocations: 161.3 kB / 0.6631 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.434, allocations: 0.5625 kB / 0.6631 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.4341, allocations: 9.328 kB / 0.6631 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4341, allocations: 1.656 kB / 0.6631 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4341, allocations: 0.7969 kB / 0.6631 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4341, allocations: 1.562 kB / 0.6631 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4341, allocations: 0 / 0.6631 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4342, allocations: 88.55 kB / 0.6632 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.4342, allocations: 77.81 kB / 0.6632 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.4342, allocations: 1.375 kB / 0.6632 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.4343, allocations: 1.859 kB / 0.6632 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.4343, allocations: 2.516 kB / 0.6633 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.4343, allocations: 1.766 kB / 0.6633 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.197e-05/0.4343, allocations: 83.08 kB / 0.6633 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.132e-06/0.4343, allocations: 64 / 0.6633 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002099/0.4345, allocations: 35.31 kB / 0.6634 GB, free: 5.992 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.4349, allocations: 0.6363 MB / 0.664 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.435, allocations: 22.33 kB / 0.664 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.435, allocations: 0 / 0.664 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.435, allocations: 11.19 kB / 0.664 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.4351, allocations: 6.656 kB / 0.664 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.4358, allocations: 1.145 MB / 0.6651 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.361e-05/0.4359, allocations: 0.6767 MB / 0.6658 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.484e-05/0.4359, allocations: 3.938 kB / 0.6658 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.436, allocations: 10.48 kB / 0.6658 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.436, allocations: 0 / 0.6658 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.4593, allocations: 2.095 MB / 0.6679 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.521/7.98, allocations: 9.766 kB / 0.6679 GB, free: 2.59 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)