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.001036/0.001036, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00106/0.001061, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.159/1.159, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6576/0.6576, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 64.11 kB / 0.5014 GB, free: 9.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 80.21 MB / 0.5797 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001453/0.1221, allocations: 0.5878 MB / 0.5803 GB, free: 8.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005102/0.1226, allocations: 324.8 kB / 0.5806 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.1226, allocations: 0 / 0.5806 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.1227, allocations: 3.938 kB / 0.5806 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.475e-05/0.1227, allocations: 0 / 0.5806 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.123, allocations: 87.83 kB / 0.5807 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.503e-05/0.1231, allocations: 8 kB / 0.5807 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.928e-05/0.1231, allocations: 4 kB / 0.5807 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.1231, allocations: 0 / 0.5807 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.542e-05/0.1232, allocations: 15.91 kB / 0.5807 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1232, allocations: 0 / 0.5807 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.1234, allocations: 191.8 kB / 0.5809 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.1234, allocations: 4 kB / 0.5809 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.1234, allocations: 7.938 kB / 0.5809 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1236, allocations: 83.84 kB / 0.581 GB, free: 7.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1236, allocations: 0 / 0.581 GB, free: 7.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1236, allocations: 0 / 0.581 GB, free: 7.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1236, allocations: 0 / 0.581 GB, free: 7.73 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.000277/0.1239, allocations: 339.7 kB / 0.5813 GB, free: 7.352 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1239, allocations: 15.97 kB / 0.5813 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.576e-05/0.124, allocations: 30.75 kB / 0.5813 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.124, allocations: 0.9375 kB / 0.5813 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.1241, allocations: 176.3 kB / 0.5815 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.1241, allocations: 384 / 0.5815 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1241, allocations: 384 / 0.5815 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.353e-05/0.1242, allocations: 41.62 kB / 0.5815 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1242, allocations: 4 kB / 0.5815 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.1242, allocations: 0 / 0.5815 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1242, allocations: 7.984 kB / 0.5815 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.1242, allocations: 0 / 0.5815 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.1244, allocations: 157.7 kB / 0.5817 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.1244, allocations: 22.55 kB / 0.5817 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.1244, allocations: 8.922 kB / 0.5817 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005149/0.125, allocations: 0.5895 MB / 0.5823 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.125, allocations: 38.55 kB / 0.5823 GB, free: 6.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.125, allocations: 0 / 0.5823 GB, free: 6.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003879/0.1254, allocations: 250.3 kB / 0.5826 GB, free: 5.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.1254, allocations: 51.41 kB / 0.5826 GB, free: 5.656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.1255, allocations: 93.86 kB / 0.5827 GB, free: 5.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1255, allocations: 33.92 kB / 0.5827 GB, free: 5.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.1255, allocations: 84.14 kB / 0.5828 GB, free: 5.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1256, allocations: 7.812 kB / 0.5828 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.1256, allocations: 21.7 kB / 0.5829 GB, free: 5.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.1257, allocations: 310.8 kB / 0.5832 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.1257, allocations: 4 kB / 0.5832 GB, free: 5.078 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.1257, allocations: 29.64 kB / 0.5832 GB, free: 5.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.1258, allocations: 25.72 kB / 0.5832 GB, free: 5.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.1258, allocations: 0 / 0.5832 GB, free: 5.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.211e-05/0.1259, allocations: 57.56 kB / 0.5833 GB, free: 4.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1259, allocations: 4 kB / 0.5833 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1259, allocations: 4 kB / 0.5833 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1259, allocations: 0 / 0.5833 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.953e-05/0.1259, allocations: 7.938 kB / 0.5833 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.1259, allocations: 4 kB / 0.5833 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.126, allocations: 4.062 kB / 0.5833 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.126, allocations: 0 / 0.5833 GB, free: 4.926 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.876e-05/0.126, allocations: 114.5 kB / 0.5834 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.1261, allocations: 3.938 kB / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.738e-05/0.1262, allocations: 65.03 kB / 0.5835 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1262, allocations: 0 / 0.5835 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1262, allocations: 4 kB / 0.5835 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1262, allocations: 3.938 kB / 0.5835 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.834e-05/0.1263, allocations: 161.6 kB / 0.5836 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1263, allocations: 0 / 0.5836 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.1263, allocations: 4 kB / 0.5836 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1263, allocations: 0 / 0.5836 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.1263, allocations: 0 / 0.5836 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1263, allocations: 0 / 0.5836 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1263, allocations: 7.984 kB / 0.5836 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1265, allocations: 81.38 kB / 0.5837 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.1265, allocations: 81.12 kB / 0.5838 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.1265, allocations: 7.984 kB / 0.5838 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.1266, allocations: 8.031 kB / 0.5838 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.1266, allocations: 0 / 0.5838 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1266, allocations: 7.984 kB / 0.5838 GB, free: 4.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.698e-05/0.1266, allocations: 79.28 kB / 0.5839 GB, free: 4.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1266, allocations: 0 / 0.5839 GB, free: 4.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001968/0.1268, allocations: 24 kB / 0.5839 GB, free: 4.176 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.0003689/0.1272, allocations: 0.6398 MB / 0.5845 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.1273, allocations: 19.92 kB / 0.5846 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1273, allocations: 4 kB / 0.5846 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.1273, allocations: 4 kB / 0.5846 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.1274, allocations: 9.891 kB / 0.5846 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.1282, allocations: 1.151 MB / 0.5857 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.1284, allocations: 0.6806 MB / 0.5864 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.322e-05/0.1284, allocations: 4 kB / 0.5864 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.1284, allocations: 15.38 kB / 0.5864 GB, free: 1.512 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1284, allocations: 0 / 0.5864 GB, free: 1.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.906/2.034, allocations: 1.981 MB / 0.5883 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003116/2.035, allocations: 220.6 kB / 0.5885 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/4.513, allocations: 0 / 0.5885 GB, free: 15.45 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)