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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.007069/0.007069, allocations: 171.9 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7223/0.7223, allocations: 135.2 MB / 151 MB, free: 13.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008179/0.0008179, allocations: 96.2 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004085, allocations: 16 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4231, allocations: 82.29 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.5739, allocations: 111.1 MB / 0.758 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5742, allocations: 79.94 kB / 0.7581 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006236/0.5805, allocations: 1.836 MB / 0.7599 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5805, allocations: 0 / 0.7599 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.5805, allocations: 0 / 0.7599 GB, free: 2.957 MB / 0.5261 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.0003588/0.5809, allocations: 343.3 kB / 0.7602 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5809, allocations: 8.031 kB / 0.7602 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.581, allocations: 34.56 kB / 0.7603 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.581, allocations: 11.98 kB / 0.7603 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.5812, allocations: 167 kB / 0.7604 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5812, allocations: 0 / 0.7604 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.5812, allocations: 4 kB / 0.7604 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.5813, allocations: 29.7 kB / 0.7605 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5814, allocations: 7.922 kB / 0.7605 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5814, allocations: 4 kB / 0.7605 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5814, allocations: 0 / 0.7605 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.5814, allocations: 7.938 kB / 0.7605 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.5816, allocations: 161.7 kB / 0.7606 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.5817, allocations: 18.58 kB / 0.7607 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005844/0.5823, allocations: 0.574 MB / 0.7612 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.5823, allocations: 42.55 kB / 0.7613 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5823, allocations: 0 / 0.7613 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005117/0.5828, allocations: 246.3 kB / 0.7615 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.5829, allocations: 55.41 kB / 0.7616 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.5829, allocations: 89 kB / 0.7616 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.583, allocations: 29.7 kB / 0.7617 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.583, allocations: 84.36 kB / 0.7617 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.583, allocations: 11.83 kB / 0.7618 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.5831, allocations: 4 kB / 0.7618 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5832, allocations: 314.8 kB / 0.7621 GB, free: 364 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.5832, allocations: 0 / 0.7621 GB, free: 364 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.5832, allocations: 25.7 kB / 0.7621 GB, free: 332 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.5832, allocations: 4 kB / 0.7621 GB, free: 328 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5832, allocations: 7.953 kB / 0.7621 GB, free: 320 kB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.319e-05/0.5833, allocations: 53.55 kB / 0.7621 GB, free: 260 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5834, allocations: 4 kB / 0.7622 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5834, allocations: 0 / 0.7622 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5834, allocations: 8 kB / 0.7622 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.5835, allocations: 11.98 kB / 0.7622 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5835, allocations: 0 / 0.7622 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.5835, allocations: 4 kB / 0.7622 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.5835, allocations: 0 / 0.7622 GB, free: 232 kB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.5836, allocations: 109.9 kB / 0.7623 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.5836, allocations: 15.83 kB / 0.7623 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.5837, allocations: 61.11 kB / 0.7624 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5837, allocations: 0 / 0.7624 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5837, allocations: 0 / 0.7624 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5838, allocations: 0 / 0.7624 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.5839, allocations: 153.7 kB / 0.7625 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5839, allocations: 0 / 0.7625 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.5839, allocations: 11.95 kB / 0.7625 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5839, allocations: 4 kB / 0.7625 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.584, allocations: 0 / 0.7625 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.584, allocations: 0 / 0.7625 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.584, allocations: 0 / 0.7625 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.5841, allocations: 77.11 kB / 0.7626 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.5841, allocations: 81.11 kB / 0.7627 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.5842, allocations: 7.891 kB / 0.7627 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.5842, allocations: 0 / 0.7627 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.5842, allocations: 8.094 kB / 0.7627 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5842, allocations: 0 / 0.7627 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.5843, allocations: 83.69 kB / 0.7628 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5843, allocations: 0 / 0.7628 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000241/0.5845, allocations: 39.94 kB / 0.7628 GB, free: 15.48 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004459/0.585, allocations: 0.6476 MB / 0.7634 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.5851, allocations: 23.92 kB / 0.7635 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5851, allocations: 0 / 0.7635 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.5851, allocations: 8 kB / 0.7635 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.932e-05/0.5852, allocations: 6.703 kB / 0.7635 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.5858, allocations: 0.541 MB / 0.764 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.586, allocations: 0.677 MB / 0.7647 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.5861, allocations: 4 kB / 0.7647 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.5861, allocations: 15.44 kB / 0.7647 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5861, allocations: 0 / 0.7647 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.5976, allocations: 1.727 MB / 0.7664 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.5978, allocations: 203.3 kB / 0.7666 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.275, allocations: 0 / 0.7666 GB, free: 11.65 MB / 0.5417 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/linux/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)