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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001535, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7701/0.7701, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008994, allocations: 99.25 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.817e-05/4.834e-05, allocations: 6.828 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2206, allocations: 82.31 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5772/0.7978, allocations: 111 MB / 0.7489 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.7981, allocations: 81.25 kB / 0.749 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006137/0.8043, allocations: 1.825 MB / 0.7508 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8043, allocations: 0 / 0.7508 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8043, allocations: 0 / 0.7508 GB, free: 27.51 MB / 0.5105 GB 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.0002862/0.8046, allocations: 338.6 kB / 0.7511 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.8047, allocations: 7.688 kB / 0.7511 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.8047, allocations: 33.52 kB / 0.7512 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.8047, allocations: 8.625 kB / 0.7512 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.8049, allocations: 166.9 kB / 0.7513 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.8049, allocations: 0 / 0.7513 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.8049, allocations: 7.406 kB / 0.7513 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.805, allocations: 35.45 kB / 0.7514 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.805, allocations: 0 / 0.7514 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.8051, allocations: 0 / 0.7514 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.8051, allocations: 0 / 0.7514 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.8051, allocations: 3.875 kB / 0.7514 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.8053, allocations: 164 kB / 0.7515 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.8053, allocations: 25.09 kB / 0.7516 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.8053, allocations: 8.734 kB / 0.7516 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005119/0.8059, allocations: 0.5829 MB / 0.7521 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.8059, allocations: 34.5 kB / 0.7522 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8059, allocations: 0 / 0.7522 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005325/0.8064, allocations: 248.5 kB / 0.7524 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.8065, allocations: 51.41 kB / 0.7525 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.8065, allocations: 96.56 kB / 0.7525 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.8066, allocations: 29.83 kB / 0.7526 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.8066, allocations: 82.34 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.8066, allocations: 7.781 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.8066, allocations: 3.5 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.8068, allocations: 313.7 kB / 0.753 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.8068, allocations: 3.969 kB / 0.753 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.8068, allocations: 17.25 kB / 0.753 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.8068, allocations: 15.58 kB / 0.753 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.8068, allocations: 3.938 kB / 0.753 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.263e-05/0.8069, allocations: 52.19 kB / 0.753 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8069, allocations: 3.844 kB / 0.7531 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8069, allocations: 0 / 0.7531 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.807, allocations: 3.844 kB / 0.7531 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.807, allocations: 6.719 kB / 0.7531 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.807, allocations: 3.875 kB / 0.7531 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.8071, allocations: 0 / 0.7531 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.8071, allocations: 7.375 kB / 0.7531 GB, free: 25.03 MB / 0.5105 GB 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 () * 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.791e-05/0.8071, allocations: 108.8 kB / 0.7532 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.8071, allocations: 3.906 kB / 0.7532 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.8073, allocations: 54.05 kB / 0.7532 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.8073, allocations: 3.875 kB / 0.7532 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8073, allocations: 0 / 0.7532 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8073, allocations: 0 / 0.7532 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.734e-05/0.8074, allocations: 158.6 kB / 0.7534 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8074, allocations: 7.953 kB / 0.7534 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.8075, allocations: 5.906 kB / 0.7534 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.8075, allocations: 0 / 0.7534 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.8075, allocations: 11.31 kB / 0.7534 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8075, allocations: 0 / 0.7534 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8075, allocations: 2.859 kB / 0.7534 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.8076, allocations: 71.53 kB / 0.7535 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.8077, allocations: 84.91 kB / 0.7536 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.8077, allocations: 3.562 kB / 0.7536 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.275e-05/0.8078, allocations: 6.719 kB / 0.7536 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.8078, allocations: 3.812 kB / 0.7536 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.8078, allocations: 0 / 0.7536 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.8078, allocations: 79.16 kB / 0.7537 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8078, allocations: 0 / 0.7537 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002208/0.8081, allocations: 41.17 kB / 0.7537 GB, free: 24.42 MB / 0.5105 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 () * 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.0004458/0.8085, allocations: 0.6503 MB / 0.7543 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.598e-05/0.8086, allocations: 15.12 kB / 0.7543 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8086, allocations: 0 / 0.7543 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.8086, allocations: 7.688 kB / 0.7543 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.8087, allocations: 3.938 kB / 0.7544 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.8091, allocations: 130 kB / 0.7545 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.8094, allocations: 0.6804 MB / 0.7551 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.8094, allocations: 11.23 kB / 0.7552 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.8095, allocations: 12.17 kB / 0.7552 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.8095, allocations: 3.938 kB / 0.7552 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.822, allocations: 1.729 MB / 0.7569 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/0.8222, allocations: 167.3 kB / 0.757 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.367, allocations: 13.16 kB / 0.757 GB, free: 22.61 MB / 0.5105 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/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)