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.005959/0.005959, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.001263/0.001263, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8205/0.8205, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.06 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1729, allocations: 80.92 MB / 0.6641 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001834/0.1748, allocations: 0.5317 MB / 0.6647 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000726/0.1756, allocations: 333.8 kB / 0.665 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.1756, allocations: 0 / 0.665 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.1756, allocations: 0 / 0.665 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.238e-05/0.1757, allocations: 0 / 0.665 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.1762, allocations: 103.7 kB / 0.6651 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.1763, allocations: 11.98 kB / 0.6651 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.1763, allocations: 4 kB / 0.6651 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.1763, allocations: 3.938 kB / 0.6651 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.1764, allocations: 11.98 kB / 0.6651 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1764, allocations: 0 / 0.6651 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.1768, allocations: 187.8 kB / 0.6653 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1768, allocations: 4 kB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.1768, allocations: 3.938 kB / 0.6653 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.177, allocations: 83.8 kB / 0.6654 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.177, allocations: 0 / 0.6654 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.177, allocations: 4 kB / 0.6654 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.177, allocations: 0 / 0.6654 GB, free: 5.055 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.0003744/0.1774, allocations: 334.4 kB / 0.6657 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1775, allocations: 13.11 kB / 0.6657 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.1775, allocations: 30.75 kB / 0.6657 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.1775, allocations: 8.922 kB / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1777, allocations: 168.2 kB / 0.6659 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1777, allocations: 4.375 kB / 0.6659 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1777, allocations: 4.125 kB / 0.6659 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.578e-05/0.1778, allocations: 37.69 kB / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1778, allocations: 0 / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1778, allocations: 0 / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1778, allocations: 0 / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.1779, allocations: 4 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.178, allocations: 157.7 kB / 0.6661 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.1781, allocations: 26.53 kB / 0.6661 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.1781, allocations: 12.86 kB / 0.6662 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.1788, allocations: 0.5817 MB / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1788, allocations: 34.56 kB / 0.6668 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1788, allocations: 0 / 0.6668 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005213/0.1793, allocations: 246.4 kB / 0.667 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1794, allocations: 51.41 kB / 0.667 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.1795, allocations: 98.06 kB / 0.6671 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1795, allocations: 33.7 kB / 0.6672 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.1795, allocations: 88.08 kB / 0.6672 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.1796, allocations: 12.59 kB / 0.6673 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.1796, allocations: 21.66 kB / 0.6673 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1797, allocations: 314.8 kB / 0.6676 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.1798, allocations: 4 kB / 0.6676 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.1798, allocations: 25.66 kB / 0.6676 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.025e-05/0.1799, allocations: 29.72 kB / 0.6676 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1799, allocations: 3.984 kB / 0.6676 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.08e-05/0.18, allocations: 53.58 kB / 0.6677 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.18, allocations: 6.031 kB / 0.6677 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.18, allocations: 0 / 0.6677 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.18, allocations: 4 kB / 0.6677 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.1801, allocations: 7.984 kB / 0.6677 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1801, allocations: 4.062 kB / 0.6677 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1801, allocations: 8 kB / 0.6677 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1801, allocations: 0 / 0.6677 GB, free: 2.254 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.566e-05/0.1802, allocations: 109.8 kB / 0.6678 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1802, allocations: 4 kB / 0.6678 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.1804, allocations: 57.03 kB / 0.6679 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1804, allocations: 0 / 0.6679 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1804, allocations: 3.984 kB / 0.6679 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1804, allocations: 0 / 0.6679 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.1805, allocations: 165.6 kB / 0.668 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1806, allocations: 0 / 0.668 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.1806, allocations: 4 kB / 0.668 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1806, allocations: 0 / 0.668 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1806, allocations: 0 / 0.668 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1806, allocations: 0 / 0.668 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1806, allocations: 0 / 0.668 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.1808, allocations: 85 kB / 0.6681 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.1808, allocations: 85.16 kB / 0.6682 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1809, allocations: 432 / 0.6682 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/0.1809, allocations: 8.031 kB / 0.6682 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.1809, allocations: 0 / 0.6682 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.1809, allocations: 0 / 0.6682 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.181, allocations: 83.27 kB / 0.6683 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.181, allocations: 0 / 0.6683 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002328/0.1812, allocations: 27.98 kB / 0.6683 GB, free: 1.523 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.0004879/0.1817, allocations: 0.6514 MB / 0.669 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.835e-05/0.1818, allocations: 15.92 kB / 0.669 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1818, allocations: 7.938 kB / 0.669 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.1819, allocations: 8 kB / 0.669 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.182, allocations: 4 kB / 0.669 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009809/0.183, allocations: 1.143 MB / 0.6701 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1833, allocations: 0.6729 MB / 0.6708 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.1833, allocations: 7.984 kB / 0.6708 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.1833, allocations: 11.44 kB / 0.6708 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.703e-06/0.1833, allocations: 0 / 0.6708 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.2042, allocations: 2.09 MB / 0.6728 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/7.904, allocations: 8.984 kB / 0.6728 GB, free: 12.9 MB / 0.5137 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/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)