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.00639/0.00639, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001399/0.001399, allocations: 197.2 kB / 16.67 MB, free: 5.934 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7463/0.7463, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.19 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1465, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00178/0.1483, allocations: 0.521 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006764/0.149, allocations: 329.8 kB / 0.66 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.149, allocations: 0 / 0.66 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.1491, allocations: 3.938 kB / 0.66 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.296e-05/0.1491, allocations: 0 / 0.66 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.1495, allocations: 103.7 kB / 0.6601 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.1496, allocations: 7.984 kB / 0.6601 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1496, allocations: 11.88 kB / 0.6601 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.765e-05/0.1497, allocations: 8 kB / 0.6601 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.1497, allocations: 7.984 kB / 0.6601 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1497, allocations: 0 / 0.6601 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.15, allocations: 179.8 kB / 0.6603 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.15, allocations: 7.984 kB / 0.6603 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.1501, allocations: 7.938 kB / 0.6603 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1502, allocations: 83.78 kB / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1502, allocations: 0 / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1503, allocations: 0 / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1503, allocations: 0 / 0.6604 GB, free: 9.473 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.0003334/0.1506, allocations: 342.4 kB / 0.6607 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1506, allocations: 8.031 kB / 0.6607 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.1507, allocations: 34.75 kB / 0.6608 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.1507, allocations: 4.844 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1508, allocations: 160.4 kB / 0.6609 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1508, allocations: 4.312 kB / 0.6609 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1509, allocations: 12.12 kB / 0.661 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.653e-05/0.151, allocations: 33.69 kB / 0.661 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.151, allocations: 0 / 0.661 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.151, allocations: 4 kB / 0.661 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.151, allocations: 0 / 0.661 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.151, allocations: 4 kB / 0.661 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1512, allocations: 153.7 kB / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.707e-05/0.1512, allocations: 26.52 kB / 0.6612 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1513, allocations: 12.86 kB / 0.6612 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/0.1519, allocations: 0.5778 MB / 0.6617 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1519, allocations: 38.55 kB / 0.6618 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.152, allocations: 0 / 0.6618 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004659/0.1524, allocations: 258.5 kB / 0.662 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.1525, allocations: 51.41 kB / 0.6621 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.1525, allocations: 97.86 kB / 0.6622 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1526, allocations: 25.7 kB / 0.6622 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.1526, allocations: 84.08 kB / 0.6623 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1526, allocations: 16.67 kB / 0.6623 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1527, allocations: 17.72 kB / 0.6623 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1528, allocations: 310.8 kB / 0.6626 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.1528, allocations: 12 kB / 0.6626 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.1528, allocations: 17.7 kB / 0.6626 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.302e-05/0.1529, allocations: 29.66 kB / 0.6627 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1529, allocations: 0 / 0.6627 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.47e-05/0.153, allocations: 65.5 kB / 0.6627 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.153, allocations: 8.062 kB / 0.6627 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.153, allocations: 0 / 0.6627 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.153, allocations: 0 / 0.6627 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.1531, allocations: 8 kB / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1531, allocations: 0 / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.1531, allocations: 0 / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1531, allocations: 4 kB / 0.6627 GB, free: 6.676 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 7.128e-05/0.1532, allocations: 110.7 kB / 0.6628 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.1532, allocations: 7.906 kB / 0.6629 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.1533, allocations: 65.11 kB / 0.6629 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1533, allocations: 0 / 0.6629 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1533, allocations: 0 / 0.6629 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1534, allocations: 0 / 0.6629 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.1535, allocations: 157.6 kB / 0.6631 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1535, allocations: 0 / 0.6631 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.1535, allocations: 8 kB / 0.6631 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1535, allocations: 0 / 0.6631 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1535, allocations: 0 / 0.6631 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1535, allocations: 3.984 kB / 0.6631 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1535, allocations: 0 / 0.6631 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1537, allocations: 85.06 kB / 0.6632 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1537, allocations: 77.11 kB / 0.6632 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.1538, allocations: 0 / 0.6632 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.1538, allocations: 0 / 0.6632 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.1538, allocations: 11.95 kB / 0.6632 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1538, allocations: 0 / 0.6632 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.1539, allocations: 79.28 kB / 0.6633 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1539, allocations: 8 kB / 0.6633 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002081/0.1541, allocations: 28 kB / 0.6634 GB, free: 5.938 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.000542/0.1546, allocations: 0.6402 MB / 0.664 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.1547, allocations: 23.97 kB / 0.664 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1547, allocations: 192 / 0.664 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.1547, allocations: 15.98 kB / 0.664 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.1549, allocations: 0.9844 kB / 0.664 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.1558, allocations: 1.151 MB / 0.6651 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1561, allocations: 0.6806 MB / 0.6658 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.1561, allocations: 4 kB / 0.6658 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.1561, allocations: 7.438 kB / 0.6658 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1561, allocations: 0 / 0.6658 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.1752, allocations: 2.084 MB / 0.6679 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.199, allocations: 8.828 kB / 0.6679 GB, free: 1.324 MB / 0.4981 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/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)