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.01117/0.01117, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.002612/0.002612, allocations: 188.5 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.256/2.256, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.251/1.251, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003259/0.003259, allocations: 58.91 kB / 0.5809 GB, free: 24.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2547, allocations: 80.21 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00263/0.2574, allocations: 0.5289 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.2584, allocations: 329.8 kB / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.2584, allocations: 0 / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.2585, allocations: 0 / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.2585, allocations: 3.938 kB / 0.66 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.2592, allocations: 91.75 kB / 0.6601 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.2593, allocations: 23.92 kB / 0.6601 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.2594, allocations: 3.938 kB / 0.6601 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.2594, allocations: 4 kB / 0.6601 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.2595, allocations: 0 / 0.6601 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2595, allocations: 0 / 0.6601 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.2599, allocations: 199.7 kB / 0.6603 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.26, allocations: 3.938 kB / 0.6603 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.26, allocations: 7.938 kB / 0.6603 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.2603, allocations: 84.02 kB / 0.6604 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2603, allocations: 0 / 0.6604 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2603, allocations: 4 kB / 0.6604 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.2603, allocations: 0 / 0.6604 GB, free: 9.629 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.000539/0.2609, allocations: 335.3 kB / 0.6607 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.2609, allocations: 12.03 kB / 0.6608 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.261, allocations: 38.73 kB / 0.6608 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.261, allocations: 0.9375 kB / 0.6608 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.2613, allocations: 164.4 kB / 0.661 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2613, allocations: 384 / 0.661 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.2613, allocations: 8.109 kB / 0.661 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.2615, allocations: 41.62 kB / 0.661 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2615, allocations: 0 / 0.661 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2615, allocations: 4 kB / 0.661 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2615, allocations: 4 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.2615, allocations: 0 / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.2618, allocations: 153.7 kB / 0.6612 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.452e-05/0.2618, allocations: 18.61 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.2618, allocations: 16.86 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/0.2626, allocations: 0.5778 MB / 0.6618 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.2626, allocations: 34.5 kB / 0.6618 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2627, allocations: 0 / 0.6618 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006233/0.2633, allocations: 258.3 kB / 0.662 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2633, allocations: 55.41 kB / 0.6621 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.2634, allocations: 97.84 kB / 0.6622 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.2634, allocations: 25.7 kB / 0.6622 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.2635, allocations: 88.08 kB / 0.6623 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.2635, allocations: 7.906 kB / 0.6623 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.2636, allocations: 21.94 kB / 0.6623 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2637, allocations: 314.8 kB / 0.6626 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.2637, allocations: 4 kB / 0.6626 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.2638, allocations: 21.72 kB / 0.6626 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.2638, allocations: 29.64 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-07/0.2639, allocations: 0 / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.53e-05/0.2639, allocations: 53.64 kB / 0.6627 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.264, allocations: 8 kB / 0.6627 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.264, allocations: 0 / 0.6627 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.264, allocations: 0 / 0.6627 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.2641, allocations: 11.92 kB / 0.6627 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2641, allocations: 7.938 kB / 0.6627 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.2641, allocations: 0 / 0.6627 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2641, allocations: 0 / 0.6627 GB, free: 6.836 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 9.098e-05/0.2642, allocations: 118.7 kB / 0.6629 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.2642, allocations: 4.062 kB / 0.6629 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.2644, allocations: 49.19 kB / 0.6629 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2644, allocations: 4 kB / 0.6629 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2644, allocations: 3.984 kB / 0.6629 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2644, allocations: 0 / 0.6629 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2645, allocations: 165.6 kB / 0.6631 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2646, allocations: 0 / 0.6631 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.2646, allocations: 7.938 kB / 0.6631 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2646, allocations: 384 / 0.6631 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2646, allocations: 0 / 0.6631 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2646, allocations: 8 kB / 0.6631 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2646, allocations: 0 / 0.6631 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.2648, allocations: 85 kB / 0.6632 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.2649, allocations: 81.09 kB / 0.6633 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2649, allocations: 4.031 kB / 0.6633 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.2649, allocations: 0 / 0.6633 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.265, allocations: 0 / 0.6633 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.265, allocations: 4.062 kB / 0.6633 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.265, allocations: 83.28 kB / 0.6633 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.265, allocations: 3.938 kB / 0.6633 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002369/0.2653, allocations: 31.92 kB / 0.6634 GB, free: 6.086 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.0005569/0.2658, allocations: 0.6358 MB / 0.664 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.266, allocations: 24.05 kB / 0.664 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.266, allocations: 3.938 kB / 0.664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.416e-05/0.266, allocations: 4 kB / 0.664 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.2662, allocations: 12.17 kB / 0.664 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2673, allocations: 1.143 MB / 0.6652 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2676, allocations: 0.6729 MB / 0.6658 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.2677, allocations: 12.05 kB / 0.6658 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.2677, allocations: 11.44 kB / 0.6658 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.2677, allocations: 3.938 kB / 0.6658 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.2949, allocations: 2.083 MB / 0.6679 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.27, allocations: 7.984 kB / 0.6679 GB, free: 1.477 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)