Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_dev_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.005733/0.005733, allocations: 101.6 kB / 15.73 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.001211/0.001211, allocations: 196.7 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9097/0.9097, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3501, allocations: 80.92 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0014/0.3516, allocations: 0.5327 MB / 0.6647 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004873/0.3521, allocations: 326.1 kB / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.3521, allocations: 0 / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.3521, allocations: 1.469 kB / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.079e-05/0.3521, allocations: 0 / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.3525, allocations: 105.9 kB / 0.6651 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.272e-05/0.3526, allocations: 13.06 kB / 0.6651 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.3526, allocations: 2.594 kB / 0.6651 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.3526, allocations: 6.609 kB / 0.6651 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.3527, allocations: 9.203 kB / 0.6651 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.3527, allocations: 1.25 kB / 0.6651 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.3529, allocations: 182.2 kB / 0.6653 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.3529, allocations: 3.938 kB / 0.6653 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.353, allocations: 10.42 kB / 0.6653 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3531, allocations: 79.53 kB / 0.6654 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3531, allocations: 0 / 0.6654 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3531, allocations: 7.938 kB / 0.6654 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3531, allocations: 1.156 kB / 0.6654 GB, free: 6.375 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.0002336/0.3534, allocations: 338.6 kB / 0.6657 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3534, allocations: 9.594 kB / 0.6657 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.14e-05/0.3534, allocations: 31.91 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.3535, allocations: 6.203 kB / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.563e-05/0.3535, allocations: 169.5 kB / 0.6659 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.3536, allocations: 384 / 0.6659 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3536, allocations: 14.2 kB / 0.6659 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.3537, allocations: 34.77 kB / 0.666 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.3537, allocations: 0 / 0.666 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3537, allocations: 0 / 0.666 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3537, allocations: 0 / 0.666 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.3537, allocations: 6.656 kB / 0.666 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.3538, allocations: 153.4 kB / 0.6661 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/0.3539, allocations: 19.3 kB / 0.6661 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.3539, allocations: 23.62 kB / 0.6662 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/0.3543, allocations: 0.5758 MB / 0.6667 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3543, allocations: 31.72 kB / 0.6668 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3544, allocations: 0 / 0.6668 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003751/0.3547, allocations: 260.7 kB / 0.667 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.538e-05/0.3548, allocations: 52.88 kB / 0.6671 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.86e-05/0.3548, allocations: 96.45 kB / 0.6672 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.3548, allocations: 27.02 kB / 0.6672 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.404e-05/0.3548, allocations: 80.14 kB / 0.6673 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.3549, allocations: 18.3 kB / 0.6673 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.3549, allocations: 26.09 kB / 0.6673 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.199e-05/0.3549, allocations: 310.8 kB / 0.6676 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.355, allocations: 7.969 kB / 0.6676 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.355, allocations: 19.23 kB / 0.6676 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.355, allocations: 23.16 kB / 0.6676 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.355, allocations: 0 / 0.6676 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.364e-05/0.3551, allocations: 61.97 kB / 0.6677 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3551, allocations: 5.094 kB / 0.6677 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3551, allocations: 1.469 kB / 0.6677 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3552, allocations: 0 / 0.6677 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.3552, allocations: 10.69 kB / 0.6677 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3552, allocations: 0 / 0.6677 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.3552, allocations: 1.406 kB / 0.6677 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3552, allocations: 1.25 kB / 0.6677 GB, free: 3.746 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.103e-05/0.3553, allocations: 121.5 kB / 0.6678 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.3553, allocations: 1.469 kB / 0.6678 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.3554, allocations: 62.98 kB / 0.6679 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3554, allocations: 0 / 0.6679 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3554, allocations: 48 / 0.6679 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3555, allocations: 5.328 kB / 0.6679 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.841e-05/0.3555, allocations: 153.5 kB / 0.6681 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3555, allocations: 0 / 0.6681 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.3556, allocations: 9.406 kB / 0.6681 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3556, allocations: 0 / 0.6681 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3556, allocations: 13.27 kB / 0.6681 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3556, allocations: 0 / 0.6681 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3556, allocations: 1.125 kB / 0.6681 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.3557, allocations: 81.83 kB / 0.6682 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.3557, allocations: 82.36 kB / 0.6682 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3557, allocations: 5.156 kB / 0.6682 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.3558, allocations: 0 / 0.6682 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.3558, allocations: 6.641 kB / 0.6682 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.3558, allocations: 5.281 kB / 0.6682 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.686e-05/0.3558, allocations: 77.84 kB / 0.6683 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3558, allocations: 0 / 0.6683 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002271/0.3561, allocations: 30.44 kB / 0.6683 GB, free: 3.07 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.000301/0.3564, allocations: 0.6433 MB / 0.669 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.669e-05/0.3565, allocations: 19.22 kB / 0.669 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3565, allocations: 0.9688 kB / 0.669 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.3565, allocations: 5.312 kB / 0.669 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3566, allocations: 7.953 kB / 0.669 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.3573, allocations: 1.143 MB / 0.6701 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.656e-05/0.3574, allocations: 0.6768 MB / 0.6708 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.745e-05/0.3574, allocations: 11.38 kB / 0.6708 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.3574, allocations: 14 kB / 0.6708 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.3574, allocations: 0 / 0.6708 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.375, allocations: 2.085 MB / 0.6728 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/7.848, allocations: 10.47 kB / 0.6729 GB, free: 15.46 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)