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.00122/0.00122, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001408/0.001408, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.308/1.308, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006433/0.0006437, allocations: 11.98 kB / 0.5069 GB, free: 5.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2598, allocations: 82.3 MB / 0.5873 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0009675/0.2609, allocations: 262.9 kB / 0.5875 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.2617, allocations: 307.3 kB / 0.5878 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.2618, allocations: 0 / 0.5878 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.2618, allocations: 0 / 0.5878 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.942e-05/0.2619, allocations: 0 / 0.5878 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.2623, allocations: 59.78 kB / 0.5879 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.595e-05/0.2624, allocations: 8 kB / 0.5879 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.2624, allocations: 7.984 kB / 0.5879 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.2625, allocations: 7.984 kB / 0.5879 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.154e-05/0.2625, allocations: 3.938 kB / 0.5879 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.2626, allocations: 0 / 0.5879 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.263, allocations: 175.8 kB / 0.5881 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.263, allocations: 0 / 0.5881 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.263, allocations: 33.64 kB / 0.5881 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2632, allocations: 55.89 kB / 0.5881 GB, free: 2.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2632, allocations: 0 / 0.5881 GB, free: 2.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.2632, allocations: 0 / 0.5881 GB, free: 2.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.2633, allocations: 7.938 kB / 0.5882 GB, free: 2.039 MB / 494.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.0004534/0.2637, allocations: 327.6 kB / 0.5885 GB, free: 1.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.2638, allocations: 12.02 kB / 0.5885 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.2639, allocations: 30.56 kB / 0.5885 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.2639, allocations: 4 kB / 0.5885 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2641, allocations: 174.9 kB / 0.5887 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2641, allocations: 0 / 0.5887 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2641, allocations: 4 kB / 0.5887 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.2643, allocations: 37.69 kB / 0.5887 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2643, allocations: 3.984 kB / 0.5887 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2643, allocations: 0 / 0.5887 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2643, allocations: 0 / 0.5887 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.985e-05/0.2644, allocations: 4 kB / 0.5887 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.2646, allocations: 153.6 kB / 0.5889 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.2647, allocations: 30.55 kB / 0.5889 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009398/0.2657, allocations: 0.5818 MB / 0.5895 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.2657, allocations: 34.56 kB / 0.5895 GB, free: 368 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.2658, allocations: 0 / 0.5895 GB, free: 368 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008349/0.2666, allocations: 254.3 kB / 0.5897 GB, free: 60 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.2667, allocations: 51.41 kB / 0.5898 GB, free: 16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2668, allocations: 105.8 kB / 0.5899 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2669, allocations: 25.7 kB / 0.5899 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.2669, allocations: 84.14 kB / 0.59 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.267, allocations: 3.906 kB / 0.59 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.267, allocations: 4 kB / 0.59 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2672, allocations: 315.1 kB / 0.5903 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.2672, allocations: 7.984 kB / 0.5903 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.2673, allocations: 17.72 kB / 0.5903 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.2673, allocations: 15.89 kB / 0.5903 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2673, allocations: 0 / 0.5903 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001504/0.2675, allocations: 57.53 kB / 0.5904 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2675, allocations: 4 kB / 0.5904 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2675, allocations: 8.062 kB / 0.5904 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2676, allocations: 0 / 0.5904 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.2677, allocations: 12 kB / 0.5904 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2677, allocations: 0 / 0.5904 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.2677, allocations: 0 / 0.5904 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2677, allocations: 7.938 kB / 0.5904 GB, free: 15.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.2679, allocations: 117.7 kB / 0.5905 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.2679, allocations: 4 kB / 0.5906 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.2681, allocations: 57.19 kB / 0.5906 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2681, allocations: 0 / 0.5906 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2681, allocations: 0 / 0.5906 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2682, allocations: 0 / 0.5906 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.2683, allocations: 149.7 kB / 0.5907 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.2684, allocations: 3.953 kB / 0.5908 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.2684, allocations: 4 kB / 0.5908 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.2685, allocations: 7.984 kB / 0.5908 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2685, allocations: 4 kB / 0.5908 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.2685, allocations: 3.938 kB / 0.5908 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2685, allocations: 0 / 0.5908 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.2687, allocations: 73.5 kB / 0.5908 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.2688, allocations: 97.03 kB / 0.5909 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.2688, allocations: 0 / 0.5909 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.2689, allocations: 0 / 0.5909 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.2689, allocations: 3.984 kB / 0.5909 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2689, allocations: 4 kB / 0.5909 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.269, allocations: 75.28 kB / 0.591 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.269, allocations: 4.062 kB / 0.591 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004111/0.2694, allocations: 32 kB / 0.591 GB, free: 14.57 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 (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.0007016/0.2702, allocations: 0.6397 MB / 0.5917 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2703, allocations: 12 kB / 0.5917 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.2703, allocations: 8.125 kB / 0.5917 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.2704, allocations: 11.94 kB / 0.5917 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.2705, allocations: 9.078 kB / 0.5917 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.2715, allocations: 0.5098 MB / 0.5922 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.2719, allocations: 0.6848 MB / 0.5929 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.2719, allocations: 0 / 0.5929 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.272, allocations: 18.81 kB / 0.5929 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.272, allocations: 0 / 0.5929 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.2889, allocations: 1.87 MB / 0.5947 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.2891, allocations: 203.9 kB / 0.5949 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.028, allocations: 0 / 0.5949 GB, free: 10.65 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: