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.0007987/0.0007986, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008055/0.0008055, allocations: 172.7 kB / 15.95 MB, free: 208 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.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7937/0.7937, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 8.219 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4512, allocations: 81.58 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0008255/0.4521, allocations: 264 kB / 0.5834 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.4528, allocations: 313 kB / 0.5837 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.4529, allocations: 0 / 0.5837 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.4529, allocations: 0 / 0.5837 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.117e-05/0.4529, allocations: 1.562 kB / 0.5837 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.4533, allocations: 67.34 kB / 0.5838 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.4533, allocations: 9.422 kB / 0.5838 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.4534, allocations: 6.188 kB / 0.5838 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.4534, allocations: 3.062 kB / 0.5838 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.4535, allocations: 6.578 kB / 0.5838 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.4535, allocations: 0.9688 kB / 0.5838 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.4538, allocations: 179.3 kB / 0.584 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.4539, allocations: 4.969 kB / 0.584 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.4539, allocations: 31.28 kB / 0.584 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.454, allocations: 54.45 kB / 0.584 GB, free: 3.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.454, allocations: 3.938 kB / 0.584 GB, free: 3.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.454, allocations: 1.344 kB / 0.5841 GB, free: 3.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.454, allocations: 0 / 0.5841 GB, free: 3.484 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.0002607/0.4543, allocations: 332.4 kB / 0.5844 GB, free: 3.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4544, allocations: 10.16 kB / 0.5844 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.4544, allocations: 35.17 kB / 0.5844 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.4544, allocations: 1.75 kB / 0.5844 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/0.4545, allocations: 165.6 kB / 0.5846 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.4545, allocations: 5.438 kB / 0.5846 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.4546, allocations: 0.8438 kB / 0.5846 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.487e-05/0.4547, allocations: 32.47 kB / 0.5846 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4547, allocations: 0 / 0.5846 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.4547, allocations: 0.7812 kB / 0.5846 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4547, allocations: 0.75 kB / 0.5846 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.4547, allocations: 11.19 kB / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.4549, allocations: 152.5 kB / 0.5848 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.4549, allocations: 28.25 kB / 0.5848 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.4549, allocations: 8.172 kB / 0.5848 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.4554, allocations: 0.5849 MB / 0.5854 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.4554, allocations: 35.27 kB / 0.5854 GB, free: 1.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.4555, allocations: 1.031 kB / 0.5854 GB, free: 1.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004843/0.4559, allocations: 247 kB / 0.5856 GB, free: 1.645 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.456, allocations: 57.08 kB / 0.5857 GB, free: 1.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.456, allocations: 99.94 kB / 0.5858 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.4561, allocations: 29.92 kB / 0.5858 GB, free: 1.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.4561, allocations: 86.02 kB / 0.5859 GB, free: 1.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.4561, allocations: 13.62 kB / 0.5859 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.4561, allocations: 0.8438 kB / 0.5859 GB, free: 1.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.4562, allocations: 321 kB / 0.5862 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.4562, allocations: 7.734 kB / 0.5862 GB, free: 1.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.4562, allocations: 17.09 kB / 0.5862 GB, free: 1.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.4563, allocations: 12.16 kB / 0.5863 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4563, allocations: 1.766 kB / 0.5863 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.903e-05/0.4564, allocations: 55.41 kB / 0.5863 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4564, allocations: 7.406 kB / 0.5863 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4564, allocations: 0.6562 kB / 0.5863 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4564, allocations: 5.953 kB / 0.5863 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.031e-05/0.4565, allocations: 6.969 kB / 0.5863 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4565, allocations: 1.797 kB / 0.5863 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.4565, allocations: 0 / 0.5863 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.4565, allocations: 6.156 kB / 0.5863 GB, free: 0.9453 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.4566, allocations: 113.5 kB / 0.5864 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.4566, allocations: 6.75 kB / 0.5865 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.4567, allocations: 58.27 kB / 0.5865 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4567, allocations: 1.938 kB / 0.5865 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4567, allocations: 0 / 0.5865 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4567, allocations: 0.875 kB / 0.5865 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.602e-05/0.4568, allocations: 162.4 kB / 0.5867 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4568, allocations: 0.6094 kB / 0.5867 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.4569, allocations: 9.031 kB / 0.5867 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4569, allocations: 2.109 kB / 0.5867 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.4569, allocations: 0 / 0.5867 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4569, allocations: 0.9062 kB / 0.5867 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4569, allocations: 0.6094 kB / 0.5867 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.4571, allocations: 83.77 kB / 0.5868 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.4571, allocations: 82.81 kB / 0.5868 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.4571, allocations: 0.6562 kB / 0.5868 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.4571, allocations: 5.734 kB / 0.5868 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.4572, allocations: 3.062 kB / 0.5868 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.4572, allocations: 0.8438 kB / 0.5868 GB, free: 400 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.4572, allocations: 78.86 kB / 0.5869 GB, free: 324 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4572, allocations: 0.8438 kB / 0.5869 GB, free: 324 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.4575, allocations: 31.7 kB / 0.587 GB, free: 316 kB / 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 (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.0004767/0.458, allocations: 0.6427 MB / 0.5876 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.362e-05/0.4581, allocations: 22.73 kB / 0.5876 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4581, allocations: 3.938 kB / 0.5876 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/0.4581, allocations: 6 kB / 0.5876 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.4583, allocations: 3.078 kB / 0.5876 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.4589, allocations: 383.7 kB / 0.588 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.4592, allocations: 0.6771 MB / 0.5886 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.4592, allocations: 4.219 kB / 0.5886 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.4592, allocations: 13.97 kB / 0.5887 GB, free: 14.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4592, allocations: 0 / 0.5887 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.4726, allocations: 1.874 MB / 0.5905 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.4728, allocations: 205.5 kB / 0.5907 GB, free: 14.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.253, allocations: 2.188 kB / 0.5907 GB, free: 14.24 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/linux/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) Environment - environmentSimulation: