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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001189/0.001189, allocations: 195.1 kB / 16.14 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6752/0.6752, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 55.19 kB / 0.5012 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2995, allocations: 80.19 MB / 0.5795 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001299/0.3008, allocations: 0.6085 MB / 0.5801 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004975/0.3013, allocations: 355.6 kB / 0.5804 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.119e-05/0.3013, allocations: 0 / 0.5804 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.3013, allocations: 0 / 0.5804 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.18e-05/0.3014, allocations: 0.5312 kB / 0.5804 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.3016, allocations: 65.86 kB / 0.5805 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.503e-05/0.3017, allocations: 10.42 kB / 0.5805 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.3017, allocations: 6.984 kB / 0.5805 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.3017, allocations: 2.688 kB / 0.5805 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.277e-05/0.3017, allocations: 7.984 kB / 0.5805 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.757e-06/0.3018, allocations: 0 / 0.5805 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.302, allocations: 183.7 kB / 0.5807 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.302, allocations: 5.844 kB / 0.5807 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.302, allocations: 13.81 kB / 0.5807 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.3022, allocations: 77.56 kB / 0.5808 GB, free: 3.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3022, allocations: 0 / 0.5808 GB, free: 3.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3022, allocations: 0.8438 kB / 0.5808 GB, free: 3.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3022, allocations: 0 / 0.5808 GB, free: 3.863 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.0002066/0.3024, allocations: 344.5 kB / 0.5811 GB, free: 3.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.3025, allocations: 10.28 kB / 0.5811 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.819e-05/0.3025, allocations: 34.75 kB / 0.5812 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.3025, allocations: 3.172 kB / 0.5812 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.179e-05/0.3026, allocations: 167 kB / 0.5813 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.3026, allocations: 1.656 kB / 0.5813 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3026, allocations: 5.094 kB / 0.5813 GB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.452e-05/0.3027, allocations: 37.05 kB / 0.5814 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.3027, allocations: 0 / 0.5814 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.3027, allocations: 0 / 0.5814 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3027, allocations: 1.125 kB / 0.5814 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.3027, allocations: 6.688 kB / 0.5814 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.688e-05/0.3028, allocations: 153.5 kB / 0.5815 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.409e-05/0.3028, allocations: 28.62 kB / 0.5815 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.366e-05/0.3029, allocations: 7.922 kB / 0.5816 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003892/0.3033, allocations: 0.5792 MB / 0.5821 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.3033, allocations: 36.31 kB / 0.5822 GB, free: 2.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3033, allocations: 0 / 0.5822 GB, free: 2.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003324/0.3036, allocations: 251.9 kB / 0.5824 GB, free: 2.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.347e-05/0.3036, allocations: 53.03 kB / 0.5824 GB, free: 1.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.31e-05/0.3037, allocations: 99.5 kB / 0.5825 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.3037, allocations: 26.62 kB / 0.5826 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.358e-05/0.3037, allocations: 85.73 kB / 0.5826 GB, free: 1.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.3037, allocations: 18.14 kB / 0.5827 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.3038, allocations: 14.75 kB / 0.5827 GB, free: 1.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.083e-05/0.3038, allocations: 317 kB / 0.583 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.3038, allocations: 12.89 kB / 0.583 GB, free: 1.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.3038, allocations: 24.2 kB / 0.583 GB, free: 1.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.3039, allocations: 27.39 kB / 0.583 GB, free: 1.328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3039, allocations: 4.938 kB / 0.583 GB, free: 1.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.679e-05/0.304, allocations: 55.91 kB / 0.5831 GB, free: 1.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.304, allocations: 6.281 kB / 0.5831 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.304, allocations: 0.7031 kB / 0.5831 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.304, allocations: 0.6562 kB / 0.5831 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.043e-05/0.304, allocations: 7.469 kB / 0.5831 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.304, allocations: 0.7031 kB / 0.5831 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.3041, allocations: 9.625 kB / 0.5831 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3041, allocations: 1.625 kB / 0.5831 GB, free: 1.273 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 3.469e-05/0.3041, allocations: 113.6 kB / 0.5832 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.3041, allocations: 6.203 kB / 0.5832 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.627e-05/0.3042, allocations: 56.02 kB / 0.5833 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3042, allocations: 0 / 0.5833 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3042, allocations: 1.406 kB / 0.5833 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3042, allocations: 0.7031 kB / 0.5833 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.123e-05/0.3043, allocations: 161.5 kB / 0.5834 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3043, allocations: 1.312 kB / 0.5835 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.3043, allocations: 4.594 kB / 0.5835 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3043, allocations: 2.062 kB / 0.5835 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.3044, allocations: 0 / 0.5835 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3044, allocations: 1.422 kB / 0.5835 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3044, allocations: 0 / 0.5835 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.192e-05/0.3045, allocations: 88.77 kB / 0.5835 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.3045, allocations: 77.86 kB / 0.5836 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.3045, allocations: 4.875 kB / 0.5836 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.3045, allocations: 1.453 kB / 0.5836 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.3045, allocations: 4.25 kB / 0.5836 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3046, allocations: 0 / 0.5836 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.708e-05/0.3046, allocations: 83.69 kB / 0.5837 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3046, allocations: 0 / 0.5837 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.3048, allocations: 27.75 kB / 0.5837 GB, free: 0.6445 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.0002698/0.3051, allocations: 0.6443 MB / 0.5844 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.414e-05/0.3051, allocations: 21.8 kB / 0.5844 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3051, allocations: 0.7188 kB / 0.5844 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.3052, allocations: 7.141 kB / 0.5844 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.3053, allocations: 1.906 kB / 0.5844 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.306, allocations: 1.156 MB / 0.5855 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.3062, allocations: 0.678 MB / 0.5862 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.173e-05/0.3062, allocations: 3.281 kB / 0.5862 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.3063, allocations: 10.44 kB / 0.5862 GB, free: 14.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3063, allocations: 0 / 0.5862 GB, free: 14.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8669/1.173, allocations: 1.937 MB / 0.5881 GB, free: 13.94 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/1.173, allocations: 226.8 kB / 0.5883 GB, free: 13.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.759, allocations: 0 / 0.5883 GB, free: 13.68 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)