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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 193.2 kB / 16.53 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9191/0.9191, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 65.34 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1597, allocations: 80.92 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001735/0.1614, allocations: 0.5242 MB / 0.585 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005824/0.162, allocations: 326.9 kB / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.1621, allocations: 0 / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.021e-05/0.1621, allocations: 0 / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/0.1622, allocations: 0 / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.1625, allocations: 103.7 kB / 0.5854 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.988e-05/0.1626, allocations: 8 kB / 0.5854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.1626, allocations: 0 / 0.5854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.1626, allocations: 15.91 kB / 0.5854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.1627, allocations: 4 kB / 0.5854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1627, allocations: 7.938 kB / 0.5854 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.163, allocations: 179.8 kB / 0.5856 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.163, allocations: 8 kB / 0.5856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.163, allocations: 11.92 kB / 0.5856 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1632, allocations: 75.86 kB / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1632, allocations: 0 / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1632, allocations: 0 / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1632, allocations: 0 / 0.5857 GB, free: 3.199 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.0003078/0.1635, allocations: 343.7 kB / 0.586 GB, free: 2.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1635, allocations: 8.031 kB / 0.586 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/0.1636, allocations: 34.69 kB / 0.5861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.1636, allocations: 8.938 kB / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.1637, allocations: 168.4 kB / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1637, allocations: 384 / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1638, allocations: 8.375 kB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.476e-05/0.1638, allocations: 33.64 kB / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1639, allocations: 4 kB / 0.5863 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1639, allocations: 0 / 0.5863 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1639, allocations: 0 / 0.5863 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.1639, allocations: 7.938 kB / 0.5863 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.164, allocations: 157.7 kB / 0.5864 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.1641, allocations: 22.56 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.1641, allocations: 8.859 kB / 0.5865 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/0.1647, allocations: 0.5856 MB / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1647, allocations: 30.56 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1647, allocations: 0 / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000445/0.1652, allocations: 258.3 kB / 0.5873 GB, free: 1.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1652, allocations: 55.34 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.1653, allocations: 98.08 kB / 0.5875 GB, free: 1.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1653, allocations: 29.7 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.1653, allocations: 80.14 kB / 0.5876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1654, allocations: 15.8 kB / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1654, allocations: 17.72 kB / 0.5876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.1655, allocations: 314.8 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.1655, allocations: 11.98 kB / 0.5879 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.1656, allocations: 13.72 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.1656, allocations: 25.72 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1656, allocations: 4 kB / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.323e-05/0.1657, allocations: 61.56 kB / 0.588 GB, free: 424 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1657, allocations: 4 kB / 0.588 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1657, allocations: 3.938 kB / 0.588 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1657, allocations: 0 / 0.588 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.1658, allocations: 8 kB / 0.588 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1658, allocations: 4.062 kB / 0.588 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.1658, allocations: 0 / 0.588 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1658, allocations: 4 kB / 0.588 GB, free: 400 kB / 494.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 6.298e-05/0.1659, allocations: 113.8 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.1659, allocations: 3.938 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.166, allocations: 65.11 kB / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.166, allocations: 0 / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1661, allocations: 0 / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1661, allocations: 0 / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1662, allocations: 157.6 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1662, allocations: 0 / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.1662, allocations: 15.98 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1662, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.1662, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1662, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1663, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.1664, allocations: 81 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.1664, allocations: 89.11 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1664, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.1665, allocations: 4 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.1665, allocations: 7.984 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1665, allocations: 0 / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.1665, allocations: 79.7 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1665, allocations: 0 / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002219/0.1668, allocations: 28 kB / 0.5886 GB, free: 15.65 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.0004157/0.1672, allocations: 0.6528 MB / 0.5893 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.769e-05/0.1673, allocations: 16 kB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1673, allocations: 0 / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.1673, allocations: 15.92 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1675, allocations: 3.938 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.1683, allocations: 1.144 MB / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1685, allocations: 0.6807 MB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.1685, allocations: 0 / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.1685, allocations: 15.44 kB / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1685, allocations: 0 / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.1873, allocations: 2.055 MB / 0.5931 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.11/9.298, allocations: 11.09 kB / 0.5931 GB, free: 11.05 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/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)