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.001003/0.001003, 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.0009965/0.0009965, allocations: 194 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7107/0.7107, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.17 kB / 0.5019 GB, free: 8.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 80.2 MB / 0.5802 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001719/0.1286, allocations: 0.5269 MB / 0.5807 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005543/0.1292, allocations: 326.9 kB / 0.581 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.1292, allocations: 3.938 kB / 0.581 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.1292, allocations: 0 / 0.581 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.1293, allocations: 0 / 0.581 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1296, allocations: 103.7 kB / 0.5811 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.219e-05/0.1297, allocations: 4 kB / 0.5811 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.1297, allocations: 8 kB / 0.5811 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.517e-05/0.1297, allocations: 3.938 kB / 0.5811 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.1298, allocations: 15.97 kB / 0.5812 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1298, allocations: 0 / 0.5812 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.1301, allocations: 183.8 kB / 0.5813 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1301, allocations: 0 / 0.5813 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.1301, allocations: 7.938 kB / 0.5813 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1303, allocations: 83.84 kB / 0.5814 GB, free: 7.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1303, allocations: 0 / 0.5814 GB, free: 7.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1303, allocations: 0 / 0.5814 GB, free: 7.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1303, allocations: 0 / 0.5814 GB, free: 7.406 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.0003834/0.1307, allocations: 347.6 kB / 0.5817 GB, free: 7.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1307, allocations: 12.03 kB / 0.5818 GB, free: 7.008 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1308, allocations: 30.75 kB / 0.5818 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.1308, allocations: 4.875 kB / 0.5818 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1309, allocations: 160.4 kB / 0.5819 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1309, allocations: 8.375 kB / 0.582 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1309, allocations: 4.375 kB / 0.582 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.131, allocations: 37.62 kB / 0.582 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.131, allocations: 0 / 0.582 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.131, allocations: 0 / 0.582 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1311, allocations: 0 / 0.582 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.937e-05/0.1311, allocations: 4 kB / 0.582 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1312, allocations: 157.6 kB / 0.5821 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.401e-05/0.1313, allocations: 22.61 kB / 0.5822 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.1313, allocations: 12.92 kB / 0.5822 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.1319, allocations: 0.5817 MB / 0.5827 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1319, allocations: 38.55 kB / 0.5828 GB, free: 5.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1319, allocations: 4 kB / 0.5828 GB, free: 5.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004474/0.1324, allocations: 250.3 kB / 0.583 GB, free: 5.402 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1324, allocations: 51.41 kB / 0.5831 GB, free: 5.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.704e-05/0.1325, allocations: 98.05 kB / 0.5832 GB, free: 5.234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1325, allocations: 25.7 kB / 0.5832 GB, free: 5.203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.1326, allocations: 80.36 kB / 0.5833 GB, free: 5.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1326, allocations: 19.8 kB / 0.5833 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.1326, allocations: 17.72 kB / 0.5833 GB, free: 5.078 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.1327, allocations: 310.8 kB / 0.5836 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.1327, allocations: 15.88 kB / 0.5836 GB, free: 4.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.1328, allocations: 21.73 kB / 0.5836 GB, free: 4.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.1328, allocations: 29.72 kB / 0.5837 GB, free: 4.688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1328, allocations: 0 / 0.5837 GB, free: 4.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.44e-05/0.1329, allocations: 57.56 kB / 0.5837 GB, free: 4.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1329, allocations: 6.188 kB / 0.5837 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.133, allocations: 0 / 0.5837 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.133, allocations: 11.94 kB / 0.5837 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.133, allocations: 8 kB / 0.5837 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.133, allocations: 0 / 0.5837 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.133, allocations: 0 / 0.5837 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1331, allocations: 4 kB / 0.5838 GB, free: 4.598 MB / 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 5.881e-05/0.1331, allocations: 110.6 kB / 0.5839 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.1331, allocations: 7.938 kB / 0.5839 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1333, allocations: 65.05 kB / 0.5839 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1333, allocations: 0 / 0.5839 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1333, allocations: 0 / 0.5839 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1333, allocations: 0 / 0.5839 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.137e-05/0.1334, allocations: 153.6 kB / 0.5841 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1334, allocations: 4 kB / 0.5841 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.1334, allocations: 8 kB / 0.5841 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1334, allocations: 0 / 0.5841 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1335, allocations: 4 kB / 0.5841 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1335, allocations: 0 / 0.5841 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.1335, allocations: 3.984 kB / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1336, allocations: 84.91 kB / 0.5842 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.1336, allocations: 81.11 kB / 0.5843 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1336, allocations: 0 / 0.5843 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.1337, allocations: 4.062 kB / 0.5843 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.1337, allocations: 8.016 kB / 0.5843 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1337, allocations: 0 / 0.5843 GB, free: 3.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.131e-05/0.1337, allocations: 79.28 kB / 0.5843 GB, free: 3.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1338, allocations: 0 / 0.5843 GB, free: 3.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.134, allocations: 24 kB / 0.5844 GB, free: 3.863 MB / 494.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 (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.0005117/0.1345, allocations: 0.6466 MB / 0.585 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.1346, allocations: 23.98 kB / 0.585 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1346, allocations: 0 / 0.585 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.1346, allocations: 8 kB / 0.585 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1347, allocations: 0 / 0.585 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.1356, allocations: 1.161 MB / 0.5862 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.1358, allocations: 0.6846 MB / 0.5868 GB, free: 1.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.322e-05/0.1358, allocations: 4.062 kB / 0.5868 GB, free: 1.199 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.1358, allocations: 15.44 kB / 0.5868 GB, free: 1.188 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1358, allocations: 0 / 0.5868 GB, free: 1.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.1645, allocations: 2.056 MB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/7.907, allocations: 6.188 kB / 0.5889 GB, free: 15.25 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)