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.0008392/0.0008393, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004386/0.004386, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7061/0.7061, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 8 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3775, allocations: 81.57 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005753/0.3781, allocations: 274.4 kB / 0.584 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006049/0.3787, allocations: 339.7 kB / 0.5843 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.3787, allocations: 0 / 0.5843 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.3788, allocations: 4 kB / 0.5843 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.3788, allocations: 0.6875 kB / 0.5843 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.3791, allocations: 61.31 kB / 0.5844 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.3792, allocations: 11.94 kB / 0.5844 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.3792, allocations: 1.312 kB / 0.5844 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.3793, allocations: 7.406 kB / 0.5844 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.3793, allocations: 10.66 kB / 0.5844 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3793, allocations: 9.344 kB / 0.5844 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.3797, allocations: 187.5 kB / 0.5846 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3797, allocations: 1.562 kB / 0.5846 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.3797, allocations: 36.19 kB / 0.5847 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3799, allocations: 80.17 kB / 0.5847 GB, free: 3.477 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3799, allocations: 1.312 kB / 0.5847 GB, free: 3.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3799, allocations: 0 / 0.5847 GB, free: 3.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.3799, allocations: 0 / 0.5847 GB, free: 3.477 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.0002454/0.3802, allocations: 333.8 kB / 0.585 GB, free: 3.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3802, allocations: 13.94 kB / 0.5851 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.3803, allocations: 30.75 kB / 0.5851 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.3803, allocations: 3.672 kB / 0.5851 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.552e-05/0.3804, allocations: 163 kB / 0.5852 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3804, allocations: 4.375 kB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3804, allocations: 6.25 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.367e-05/0.3805, allocations: 35.92 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3805, allocations: 0 / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3805, allocations: 1.328 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3805, allocations: 4.656 kB / 0.5853 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.3806, allocations: 6.766 kB / 0.5853 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.3807, allocations: 153.4 kB / 0.5855 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.121e-05/0.3807, allocations: 24.52 kB / 0.5855 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.3808, allocations: 6.719 kB / 0.5855 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004903/0.3813, allocations: 0.5848 MB / 0.5861 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3813, allocations: 36.06 kB / 0.5861 GB, free: 1.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3813, allocations: 0.9375 kB / 0.5861 GB, free: 1.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004824/0.3818, allocations: 252.6 kB / 0.5863 GB, free: 1.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.3818, allocations: 55.34 kB / 0.5864 GB, free: 1.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.784e-05/0.3819, allocations: 99.66 kB / 0.5865 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.3819, allocations: 27.11 kB / 0.5865 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.3819, allocations: 80.75 kB / 0.5866 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.3819, allocations: 14.69 kB / 0.5866 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.382, allocations: 11.64 kB / 0.5866 GB, free: 1.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.382, allocations: 313.7 kB / 0.5869 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.382, allocations: 11.73 kB / 0.5869 GB, free: 1.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.3821, allocations: 16.05 kB / 0.5869 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.3821, allocations: 24.22 kB / 0.587 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3821, allocations: 1.438 kB / 0.587 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.343e-05/0.3822, allocations: 59.3 kB / 0.587 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3822, allocations: 7.312 kB / 0.587 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3823, allocations: 4.906 kB / 0.587 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3823, allocations: 1.719 kB / 0.587 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.3823, allocations: 11.14 kB / 0.587 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3823, allocations: 4.594 kB / 0.587 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.3824, allocations: 8.812 kB / 0.587 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.3824, allocations: 3.078 kB / 0.5871 GB, free: 0.9023 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 5.006e-05/0.3824, allocations: 113.1 kB / 0.5872 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.3825, allocations: 7.281 kB / 0.5872 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.3826, allocations: 58.53 kB / 0.5872 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3826, allocations: 1.375 kB / 0.5872 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3826, allocations: 0 / 0.5872 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3826, allocations: 1.156 kB / 0.5872 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.922e-05/0.3827, allocations: 158.3 kB / 0.5874 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3827, allocations: 0 / 0.5874 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.3827, allocations: 5.719 kB / 0.5874 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3827, allocations: 1.281 kB / 0.5874 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.3828, allocations: 0 / 0.5874 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3828, allocations: 1.172 kB / 0.5874 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3828, allocations: 8.938 kB / 0.5874 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.3829, allocations: 84.11 kB / 0.5875 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.3829, allocations: 82.28 kB / 0.5875 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3829, allocations: 4.969 kB / 0.5876 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.449e-05/0.383, allocations: 2.281 kB / 0.5876 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.383, allocations: 1.828 kB / 0.5876 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.383, allocations: 1.344 kB / 0.5876 GB, free: 356 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.423e-05/0.383, allocations: 83.81 kB / 0.5876 GB, free: 276 kB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.383, allocations: 4 kB / 0.5876 GB, free: 272 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000245/0.3833, allocations: 27.44 kB / 0.5877 GB, free: 268 kB / 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.000475/0.3838, allocations: 0.6436 MB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.224e-05/0.3839, allocations: 13.62 kB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3839, allocations: 4.875 kB / 0.5883 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.291e-05/0.3839, allocations: 15.39 kB / 0.5883 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3841, allocations: 4.297 kB / 0.5883 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.3851, allocations: 1.144 MB / 0.5895 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3853, allocations: 0.6767 MB / 0.5901 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.876e-05/0.3854, allocations: 4.641 kB / 0.5901 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.3854, allocations: 17.97 kB / 0.5901 GB, free: 13.78 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3854, allocations: 0 / 0.5901 GB, free: 13.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2599/0.6453, allocations: 1.885 MB / 0.592 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/0.6457, allocations: 221.7 kB / 0.5922 GB, free: 13.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.342, allocations: 0 / 0.5922 GB, free: 13.39 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 & /home/hudson/saved_omc/OMSimulator/install/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)