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.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7369/0.7369, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60.31 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3261, allocations: 80.21 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001576/0.3277, allocations: 0.5302 MB / 0.5807 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005129/0.3282, allocations: 326.2 kB / 0.581 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.3282, allocations: 4 kB / 0.581 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.3283, allocations: 3.938 kB / 0.581 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.34e-05/0.3283, allocations: 0 / 0.581 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.3286, allocations: 98.05 kB / 0.5811 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.407e-05/0.3287, allocations: 7.672 kB / 0.5811 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.3287, allocations: 2.531 kB / 0.5811 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.877e-05/0.3288, allocations: 7.094 kB / 0.5811 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.3288, allocations: 14.48 kB / 0.5812 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3288, allocations: 0.9062 kB / 0.5812 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.3291, allocations: 192.5 kB / 0.5813 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.3291, allocations: 1.438 kB / 0.5813 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.3292, allocations: 11.08 kB / 0.5814 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.3293, allocations: 76.03 kB / 0.5814 GB, free: 3.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3294, allocations: 1.031 kB / 0.5814 GB, free: 3.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3294, allocations: 0 / 0.5814 GB, free: 3.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3294, allocations: 0 / 0.5814 GB, free: 3.887 MB / 430.1 MB 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.0002465/0.3296, allocations: 340.7 kB / 0.5818 GB, free: 3.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3297, allocations: 9.625 kB / 0.5818 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.234e-05/0.3297, allocations: 32.27 kB / 0.5818 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.3297, allocations: 2.375 kB / 0.5818 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/0.3298, allocations: 170.6 kB / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3298, allocations: 2.281 kB / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.3298, allocations: 5.062 kB / 0.582 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.3299, allocations: 40.55 kB / 0.582 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.3299, allocations: 0 / 0.582 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.33, allocations: 8.844 kB / 0.582 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.33, allocations: 0.7812 kB / 0.582 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.33, allocations: 2.594 kB / 0.582 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.706e-05/0.3301, allocations: 153.5 kB / 0.5822 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.3301, allocations: 25.28 kB / 0.5822 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.3301, allocations: 11.27 kB / 0.5822 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/0.3306, allocations: 0.58 MB / 0.5828 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.3306, allocations: 31.22 kB / 0.5828 GB, free: 2.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3306, allocations: 1.438 kB / 0.5828 GB, free: 2.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003821/0.331, allocations: 259.7 kB / 0.583 GB, free: 2.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.481e-05/0.331, allocations: 53.06 kB / 0.5831 GB, free: 1.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.701e-05/0.3311, allocations: 98.97 kB / 0.5832 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.3311, allocations: 26.5 kB / 0.5832 GB, free: 1.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.471e-05/0.3311, allocations: 80.98 kB / 0.5833 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3311, allocations: 10.16 kB / 0.5833 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.3312, allocations: 18.64 kB / 0.5833 GB, free: 1.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.3312, allocations: 313.6 kB / 0.5836 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.3312, allocations: 12.17 kB / 0.5836 GB, free: 1.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.3313, allocations: 17.19 kB / 0.5836 GB, free: 1.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.3313, allocations: 28.38 kB / 0.5837 GB, free: 1.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3313, allocations: 0 / 0.5837 GB, free: 1.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.366e-05/0.3314, allocations: 60.53 kB / 0.5837 GB, free: 1.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3314, allocations: 9.5 kB / 0.5837 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.3314, allocations: 0 / 0.5837 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3314, allocations: 5.359 kB / 0.5837 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.571e-05/0.3315, allocations: 11.66 kB / 0.5838 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3315, allocations: 0.5156 kB / 0.5838 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.3315, allocations: 0.8438 kB / 0.5838 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3315, allocations: 2.125 kB / 0.5838 GB, free: 1.305 MB / 430.1 MB 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.026e-05/0.3316, allocations: 111 kB / 0.5839 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.3316, allocations: 4.781 kB / 0.5839 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.3317, allocations: 63.28 kB / 0.5839 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3317, allocations: 1.25 kB / 0.5839 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3317, allocations: 0.75 kB / 0.5839 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3317, allocations: 1.062 kB / 0.5839 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.91e-05/0.3318, allocations: 157.5 kB / 0.5841 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3318, allocations: 0.75 kB / 0.5841 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.3318, allocations: 9.438 kB / 0.5841 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3318, allocations: 0.9062 kB / 0.5841 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3318, allocations: 2.281 kB / 0.5841 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3318, allocations: 0 / 0.5841 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3318, allocations: 4 kB / 0.5841 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.3319, allocations: 88.67 kB / 0.5842 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.332, allocations: 82.97 kB / 0.5843 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.332, allocations: 0 / 0.5843 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.332, allocations: 5.953 kB / 0.5843 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.332, allocations: 2.719 kB / 0.5843 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3321, allocations: 1.375 kB / 0.5843 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.951e-05/0.3321, allocations: 82.97 kB / 0.5844 GB, free: 0.668 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3321, allocations: 0.9688 kB / 0.5844 GB, free: 0.668 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.3323, allocations: 31.61 kB / 0.5844 GB, free: 0.6602 MB / 430.1 MB 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.0002882/0.3326, allocations: 0.6317 MB / 0.585 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.3327, allocations: 22.64 kB / 0.585 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3327, allocations: 4.062 kB / 0.585 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.3327, allocations: 7.891 kB / 0.585 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.3328, allocations: 1.844 kB / 0.585 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.3337, allocations: 1.14 MB / 0.5861 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.334, allocations: 0.6805 MB / 0.5868 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.473e-05/0.334, allocations: 11.92 kB / 0.5868 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.334, allocations: 18.55 kB / 0.5868 GB, free: 14.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.704e-06/0.334, allocations: 0 / 0.5868 GB, free: 14.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.3513, allocations: 2.046 MB / 0.5888 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.207, allocations: 7.531 kB / 0.5888 GB, free: 13.86 MB / 446.1 MB (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)