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.004962/0.004962, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001149/0.00115, allocations: 196.6 kB / 16.68 MB, free: 6.352 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7209/0.7209, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.64 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001657/0.1522, allocations: 0.5319 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.1528, allocations: 329.5 kB / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.1529, allocations: 0 / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1529, allocations: 0 / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.607e-05/0.1529, allocations: 7.938 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.1534, allocations: 93.16 kB / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.1534, allocations: 15.94 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.1535, allocations: 4 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.1535, allocations: 7.984 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.1535, allocations: 7.922 kB / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1536, allocations: 0 / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.1539, allocations: 187.8 kB / 0.6603 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1539, allocations: 7.938 kB / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.1539, allocations: 4 kB / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1541, allocations: 80.02 kB / 0.6604 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1541, allocations: 3.984 kB / 0.6604 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1541, allocations: 4 kB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1541, allocations: 0 / 0.6604 GB, free: 12.77 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.0003541/0.1545, allocations: 343.3 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1545, allocations: 8.031 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.1546, allocations: 30.75 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.1546, allocations: 4.938 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1547, allocations: 168.4 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1547, allocations: 384 / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1547, allocations: 4.125 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.1548, allocations: 37.69 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1549, allocations: 0 / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1549, allocations: 4 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1549, allocations: 0 / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.1549, allocations: 3.938 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1551, allocations: 153.7 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/0.1551, allocations: 22.61 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.1552, allocations: 16.86 kB / 0.6612 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006059/0.1558, allocations: 0.5778 MB / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1558, allocations: 30.56 kB / 0.6618 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1558, allocations: 0 / 0.6618 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004843/0.1563, allocations: 258.3 kB / 0.662 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.1563, allocations: 63.33 kB / 0.6621 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.1564, allocations: 101.8 kB / 0.6622 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1564, allocations: 29.64 kB / 0.6622 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.1565, allocations: 80.14 kB / 0.6623 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.1565, allocations: 11.91 kB / 0.6623 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1565, allocations: 21.92 kB / 0.6623 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1567, allocations: 318.8 kB / 0.6626 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.1567, allocations: 0 / 0.6626 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.1567, allocations: 21.7 kB / 0.6626 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.1568, allocations: 25.72 kB / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1568, allocations: 0 / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.243e-05/0.1569, allocations: 61.56 kB / 0.6627 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1569, allocations: 8 kB / 0.6627 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1569, allocations: 0 / 0.6627 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1569, allocations: 0 / 0.6627 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.157, allocations: 4 kB / 0.6627 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.157, allocations: 4 kB / 0.6627 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.157, allocations: 0 / 0.6627 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.157, allocations: 0 / 0.6627 GB, free: 9.98 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 7.981e-05/0.1571, allocations: 122.4 kB / 0.6629 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.1571, allocations: 4 kB / 0.6629 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.1572, allocations: 57.16 kB / 0.6629 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1572, allocations: 4 kB / 0.6629 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1572, allocations: 0 / 0.6629 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1572, allocations: 0 / 0.6629 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.1574, allocations: 157.6 kB / 0.6631 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1574, allocations: 0 / 0.6631 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.1574, allocations: 4 kB / 0.6631 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1574, allocations: 0 / 0.6631 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1574, allocations: 8 kB / 0.6631 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1574, allocations: 4 kB / 0.6631 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1575, allocations: 0 / 0.6631 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1576, allocations: 88.94 kB / 0.6632 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1576, allocations: 77.11 kB / 0.6633 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1577, allocations: 4.031 kB / 0.6633 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.1577, allocations: 0 / 0.6633 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.1577, allocations: 0 / 0.6633 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1577, allocations: 8.062 kB / 0.6633 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.1578, allocations: 87.62 kB / 0.6633 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1578, allocations: 0 / 0.6633 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000221/0.158, allocations: 27.94 kB / 0.6634 GB, free: 9.23 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.0004656/0.1585, allocations: 0.6476 MB / 0.664 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.579e-05/0.1586, allocations: 24.05 kB / 0.664 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1586, allocations: 0 / 0.664 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.1586, allocations: 7.938 kB / 0.664 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1587, allocations: 4 kB / 0.664 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009092/0.1596, allocations: 1.143 MB / 0.6652 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1599, allocations: 0.6768 MB / 0.6658 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.16, allocations: 4 kB / 0.6658 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.16, allocations: 11.44 kB / 0.6658 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.16, allocations: 0 / 0.6658 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.1804, allocations: 2.077 MB / 0.6679 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.38, allocations: 16.38 kB / 0.6679 GB, free: 4.629 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)