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.000934/0.000934, allocations: 108 kB / 15.6 MB, free: 132 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.0009959/0.000996, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8703/0.8703, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 69.89 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 80.92 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001499/0.128, allocations: 0.5152 MB / 0.585 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000535/0.1286, allocations: 318.9 kB / 0.5853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.1286, allocations: 8 kB / 0.5853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.728e-06/0.1286, allocations: 0 / 0.5853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.541e-05/0.1287, allocations: 3.938 kB / 0.5853 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.129, allocations: 87.75 kB / 0.5854 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.384e-05/0.129, allocations: 19.94 kB / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.1291, allocations: 0 / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.1291, allocations: 8 kB / 0.5854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.1291, allocations: 7.922 kB / 0.5854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1292, allocations: 0 / 0.5854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.1294, allocations: 191.8 kB / 0.5856 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.1294, allocations: 0 / 0.5856 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.1295, allocations: 7.938 kB / 0.5856 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1296, allocations: 83.84 kB / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1296, allocations: 0 / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1296, allocations: 0 / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1296, 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.0002825/0.1299, allocations: 343.7 kB / 0.586 GB, free: 2.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.13, allocations: 8.031 kB / 0.586 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.899e-05/0.13, allocations: 34.75 kB / 0.5861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.13, allocations: 4.938 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.151e-05/0.1301, allocations: 164.3 kB / 0.5862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.1301, allocations: 384 / 0.5862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1301, allocations: 8.359 kB / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.873e-05/0.1302, allocations: 41.56 kB / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1302, allocations: 0 / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1303, allocations: 8 kB / 0.5863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1303, allocations: 0 / 0.5863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.1303, allocations: 4 kB / 0.5863 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.1304, allocations: 149.7 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.1305, allocations: 22.58 kB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.1305, allocations: 8.844 kB / 0.5865 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/0.131, allocations: 0.5896 MB / 0.587 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1311, allocations: 34.5 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1311, allocations: 0 / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004069/0.1315, allocations: 258.5 kB / 0.5873 GB, free: 1.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.1315, allocations: 51.41 kB / 0.5874 GB, free: 1.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.1316, allocations: 93.86 kB / 0.5874 GB, free: 1.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1316, allocations: 25.7 kB / 0.5875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.1316, allocations: 84.14 kB / 0.5876 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1316, allocations: 15.8 kB / 0.5876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.1317, allocations: 13.72 kB / 0.5876 GB, free: 0.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.1318, allocations: 318.8 kB / 0.5879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.1318, allocations: 8 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.1318, allocations: 25.7 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/0.1319, allocations: 25.66 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1319, allocations: 0 / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.687e-05/0.132, allocations: 53.62 kB / 0.588 GB, free: 436 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.132, allocations: 8 kB / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.132, allocations: 4.062 kB / 0.588 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.132, allocations: 0 / 0.588 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.1321, allocations: 15.88 kB / 0.588 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1321, allocations: 0 / 0.588 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.1321, allocations: 0 / 0.588 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1321, allocations: 4 kB / 0.588 GB, free: 404 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 5.967e-05/0.1322, allocations: 113.8 kB / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.1322, allocations: 3.938 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1323, allocations: 65.11 kB / 0.5882 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1323, allocations: 0 / 0.5882 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1323, allocations: 0 / 0.5882 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1323, allocations: 0 / 0.5882 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1324, allocations: 161.6 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1324, allocations: 0 / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.1325, allocations: 7.938 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1325, allocations: 4 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1325, allocations: 4.359 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1325, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1325, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1326, allocations: 85.05 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.1327, allocations: 85.05 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.1327, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.1327, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.1327, allocations: 3.984 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1327, allocations: 4 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.205e-05/0.1328, allocations: 79.28 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1328, allocations: 4.062 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002083/0.133, 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.0003786/0.1334, allocations: 0.641 MB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.828e-05/0.1335, allocations: 19.94 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1335, allocations: 192 / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.1335, allocations: 12 kB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.1336, allocations: 11.92 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.1344, allocations: 1.143 MB / 0.5904 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.1346, allocations: 0.6806 MB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.1346, allocations: 4 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.1347, allocations: 11.44 kB / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1347, allocations: 4 kB / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.1515, allocations: 2.062 MB / 0.5931 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/7.105, allocations: 10.47 kB / 0.5931 GB, free: 11.06 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)