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.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001184/0.001185, allocations: 191 kB / 16.13 MB, free: 6.656 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8263/0.8263, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 60.5 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1234, allocations: 80.93 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001563/0.125, allocations: 0.599 MB / 0.5844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000568/0.1256, allocations: 340.7 kB / 0.5847 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.317e-05/0.1256, allocations: 4 kB / 0.5847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1256, allocations: 0 / 0.5847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.062e-05/0.1257, allocations: 3.938 kB / 0.5847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1259, allocations: 63.84 kB / 0.5848 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.925e-05/0.126, allocations: 7.984 kB / 0.5848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.126, allocations: 8 kB / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.1261, allocations: 0 / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.457e-05/0.1261, allocations: 7.938 kB / 0.5848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1261, allocations: 0 / 0.5848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.1264, allocations: 195.7 kB / 0.585 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1264, allocations: 4 kB / 0.585 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.1264, allocations: 7.938 kB / 0.585 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1265, allocations: 75.86 kB / 0.5851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1266, allocations: 4 kB / 0.5851 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1266, allocations: 0 / 0.5851 GB, free: 3.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.1266, allocations: 0 / 0.5851 GB, free: 3.582 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.0002719/0.1268, allocations: 335.8 kB / 0.5854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1269, allocations: 16.02 kB / 0.5854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.1269, allocations: 34.75 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.127, allocations: 0.9375 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.14e-05/0.1271, allocations: 172.2 kB / 0.5856 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1271, allocations: 8.375 kB / 0.5856 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1271, allocations: 384 / 0.5856 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.319e-05/0.1272, allocations: 37.62 kB / 0.5857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.1272, allocations: 0 / 0.5857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1272, allocations: 0 / 0.5857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1272, allocations: 3.938 kB / 0.5857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.1272, allocations: 4 kB / 0.5857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.1274, allocations: 153.7 kB / 0.5858 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.1274, allocations: 30.55 kB / 0.5858 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.1274, allocations: 8.922 kB / 0.5859 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/0.128, allocations: 0.5817 MB / 0.5864 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.128, allocations: 38.56 kB / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.128, allocations: 0 / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004189/0.1284, allocations: 246.3 kB / 0.5867 GB, free: 1.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.1285, allocations: 51.41 kB / 0.5867 GB, free: 1.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.221e-05/0.1285, allocations: 102 kB / 0.5868 GB, free: 1.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1285, allocations: 25.7 kB / 0.5869 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.1286, allocations: 88.36 kB / 0.587 GB, free: 1.289 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.1286, allocations: 15.8 kB / 0.587 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.1286, allocations: 17.7 kB / 0.587 GB, free: 1.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.1287, allocations: 314.8 kB / 0.5873 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.1288, allocations: 4 kB / 0.5873 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.1288, allocations: 21.75 kB / 0.5873 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.1288, allocations: 37.64 kB / 0.5873 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1288, allocations: 0 / 0.5873 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.837e-05/0.1289, allocations: 53.58 kB / 0.5874 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1289, allocations: 6.188 kB / 0.5874 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1289, allocations: 0 / 0.5874 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.129, allocations: 7.984 kB / 0.5874 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.129, allocations: 11.94 kB / 0.5874 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.129, allocations: 0 / 0.5874 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.129, allocations: 4 kB / 0.5874 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1291, allocations: 4.062 kB / 0.5874 GB, free: 0.7695 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.544e-05/0.1291, allocations: 109.8 kB / 0.5875 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.1291, allocations: 7.938 kB / 0.5875 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1292, allocations: 57.11 kB / 0.5876 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1293, allocations: 0 / 0.5876 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1293, allocations: 0 / 0.5876 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1293, allocations: 4 kB / 0.5876 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.849e-05/0.1294, allocations: 157.6 kB / 0.5877 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1294, allocations: 4 kB / 0.5878 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.1294, allocations: 4 kB / 0.5878 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1294, allocations: 0 / 0.5878 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1294, allocations: 0 / 0.5878 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1294, allocations: 0 / 0.5878 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1294, allocations: 0 / 0.5878 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1296, allocations: 85.05 kB / 0.5878 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.1296, allocations: 88.89 kB / 0.5879 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.1296, allocations: 64 / 0.5879 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.1297, allocations: 8.031 kB / 0.5879 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.1297, allocations: 0 / 0.5879 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1297, allocations: 0 / 0.5879 GB, free: 152 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.1297, allocations: 87.27 kB / 0.588 GB, free: 64 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1297, allocations: 0 / 0.588 GB, free: 64 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1299, allocations: 28 kB / 0.588 GB, free: 36 kB / 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.0004088/0.1303, allocations: 0.6358 MB / 0.5887 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.89e-05/0.1304, allocations: 19.92 kB / 0.5887 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1304, allocations: 4 kB / 0.5887 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.1305, allocations: 4 kB / 0.5887 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1306, allocations: 5.125 kB / 0.5887 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/0.1314, allocations: 1.161 MB / 0.5898 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.1316, allocations: 0.6731 MB / 0.5905 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.1316, allocations: 4 kB / 0.5905 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.1316, allocations: 15.42 kB / 0.5905 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1316, allocations: 0 / 0.5905 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.142, allocations: 1.947 MB / 0.5924 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.1423, allocations: 233 kB / 0.5926 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.626, allocations: 0 / 0.5926 GB, free: 11.32 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)