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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.005185/0.005185, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7553/0.7553, allocations: 135.2 MB / 151 MB, free: 13.85 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.399/1.399, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.000876, allocations: 95.34 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4327, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.5855, allocations: 111.1 MB / 0.758 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.5858, allocations: 83.94 kB / 0.7581 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006266/0.5921, allocations: 1.821 MB / 0.7599 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5921, allocations: 0 / 0.7599 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5922, allocations: 0 / 0.7599 GB, free: 2.949 MB / 0.5261 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.0003297/0.5925, allocations: 347.3 kB / 0.7602 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5926, allocations: 8.031 kB / 0.7602 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.5926, allocations: 34.56 kB / 0.7603 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.5927, allocations: 3.984 kB / 0.7603 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5928, allocations: 171 kB / 0.7604 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5928, allocations: 0 / 0.7604 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.5928, allocations: 12 kB / 0.7604 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.408e-05/0.5929, allocations: 33.69 kB / 0.7605 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.593, allocations: 0 / 0.7605 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.593, allocations: 3.938 kB / 0.7605 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.593, allocations: 0 / 0.7605 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.593, allocations: 7.938 kB / 0.7605 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.5932, allocations: 157.7 kB / 0.7606 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/0.5932, allocations: 22.58 kB / 0.7607 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.5938, allocations: 0.5779 MB / 0.7612 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.5938, allocations: 30.56 kB / 0.7612 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5938, allocations: 0 / 0.7612 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004875/0.5943, allocations: 258.3 kB / 0.7615 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.5944, allocations: 51.41 kB / 0.7615 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.5944, allocations: 89 kB / 0.7616 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.5944, allocations: 25.7 kB / 0.7617 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.5945, allocations: 84.14 kB / 0.7617 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.5945, allocations: 7.891 kB / 0.7617 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.5945, allocations: 4.156 kB / 0.7617 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.5946, allocations: 318.8 kB / 0.762 GB, free: 356 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.5946, allocations: 8 kB / 0.7621 GB, free: 348 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.5947, allocations: 17.7 kB / 0.7621 GB, free: 324 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.5947, allocations: 8 kB / 0.7621 GB, free: 316 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5947, allocations: 3.953 kB / 0.7621 GB, free: 312 kB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.167e-05/0.5948, allocations: 53.55 kB / 0.7621 GB, free: 252 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5948, allocations: 8.062 kB / 0.7621 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5948, allocations: 4 kB / 0.7621 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5948, allocations: 3.984 kB / 0.7622 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.5949, allocations: 8 kB / 0.7622 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.5949, allocations: 7.938 kB / 0.7622 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.5949, allocations: 0 / 0.7622 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.5949, allocations: 0 / 0.7622 GB, free: 220 kB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.595, allocations: 116.6 kB / 0.7623 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.595, allocations: 3.953 kB / 0.7623 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.5952, allocations: 65.05 kB / 0.7623 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.5952, allocations: 0 / 0.7623 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5952, allocations: 0 / 0.7623 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5952, allocations: 4.375 kB / 0.7623 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.5953, allocations: 153.7 kB / 0.7625 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5953, allocations: 0 / 0.7625 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.5954, allocations: 7.953 kB / 0.7625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5954, allocations: 0 / 0.7625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5954, allocations: 0 / 0.7625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5954, allocations: 0 / 0.7625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5954, allocations: 8 kB / 0.7625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.5955, allocations: 81.09 kB / 0.7626 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.5956, allocations: 77.11 kB / 0.7627 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.5956, allocations: 3.953 kB / 0.7627 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.5956, allocations: 7.969 kB / 0.7627 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.5957, allocations: 0 / 0.7627 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.5957, allocations: 0 / 0.7627 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.5957, allocations: 91.33 kB / 0.7628 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5957, allocations: 0 / 0.7628 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000216/0.5959, allocations: 35.94 kB / 0.7628 GB, free: 15.47 MB / 0.5417 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 (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.0005278/0.5965, allocations: 0.6397 MB / 0.7634 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.658e-05/0.5966, allocations: 23.92 kB / 0.7634 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5966, allocations: 4.188 kB / 0.7634 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.5966, allocations: 8 kB / 0.7635 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.5967, allocations: 3.953 kB / 0.7635 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.5973, allocations: 0.5447 MB / 0.764 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.5976, allocations: 0.677 MB / 0.7646 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.5976, allocations: 4 kB / 0.7647 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.5976, allocations: 11.44 kB / 0.7647 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5976, allocations: 0 / 0.7647 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.6103, allocations: 1.739 MB / 0.7664 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.6106, allocations: 208.2 kB / 0.7666 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.428, allocations: 0 / 0.7666 GB, free: 11.64 MB / 0.5417 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/linux/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)