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.001309/0.001309, allocations: 175.1 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.7953/0.7953, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.7/1.7, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.0008971/0.0008972, allocations: 88.88 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.165e-05/4.18e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1733, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5813/0.7547, allocations: 111 MB / 0.7489 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.755, allocations: 77.11 kB / 0.749 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007021/0.7621, allocations: 1.819 MB / 0.7508 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7621, allocations: 0 / 0.7508 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.7621, allocations: 0 / 0.7508 GB, free: 27.6 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.0003383/0.7625, allocations: 342.4 kB / 0.7511 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7626, allocations: 11.69 kB / 0.7511 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.7626, allocations: 33.44 kB / 0.7512 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.7626, allocations: 0.7812 kB / 0.7512 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.7627, allocations: 166.9 kB / 0.7513 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7628, allocations: 7.844 kB / 0.7513 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.7628, allocations: 6.109 kB / 0.7513 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.948e-05/0.7629, allocations: 33.48 kB / 0.7514 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7629, allocations: 0 / 0.7514 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.7629, allocations: 0 / 0.7514 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7629, allocations: 0 / 0.7514 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.763, allocations: 3.844 kB / 0.7514 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.7631, allocations: 162.4 kB / 0.7515 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.7632, allocations: 33.88 kB / 0.7516 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.7632, allocations: 8.797 kB / 0.7516 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.7637, allocations: 0.5834 MB / 0.7521 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.7638, allocations: 34.56 kB / 0.7522 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.7638, allocations: 0 / 0.7522 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004936/0.7643, allocations: 245.1 kB / 0.7524 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.7643, allocations: 51.41 kB / 0.7525 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.7644, allocations: 94.72 kB / 0.7525 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.7644, allocations: 25.7 kB / 0.7526 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.7645, allocations: 84.2 kB / 0.7526 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.7645, allocations: 7.906 kB / 0.7527 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.7645, allocations: 3.5 kB / 0.7527 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.7646, allocations: 317.4 kB / 0.753 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.7647, allocations: 3.812 kB / 0.753 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.7647, allocations: 20.97 kB / 0.753 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.7647, allocations: 7.703 kB / 0.753 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7647, allocations: 4 kB / 0.753 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.479e-05/0.7648, allocations: 57.33 kB / 0.753 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.7648, allocations: 3.875 kB / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.7649, allocations: 0 / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.7649, allocations: 0 / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.7649, allocations: 7.5 kB / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7649, allocations: 0 / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.765, allocations: 3.5 kB / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.765, allocations: 3.875 kB / 0.7531 GB, free: 25.12 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 6.46e-05/0.765, allocations: 115.9 kB / 0.7532 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.7651, allocations: 7.719 kB / 0.7532 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.7652, allocations: 47.3 kB / 0.7532 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.7652, allocations: 3.047 kB / 0.7532 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7652, allocations: 0 / 0.7532 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7652, allocations: 0 / 0.7532 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.663e-05/0.7653, allocations: 156.1 kB / 0.7534 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.7653, allocations: 6.078 kB / 0.7534 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.7654, allocations: 3.812 kB / 0.7534 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7654, allocations: 4 kB / 0.7534 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.7654, allocations: 10.58 kB / 0.7534 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7654, allocations: 0 / 0.7534 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7654, allocations: 3.906 kB / 0.7534 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.7655, allocations: 71.22 kB / 0.7535 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.7656, allocations: 85.05 kB / 0.7536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.7656, allocations: 6.938 kB / 0.7536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.292e-05/0.7656, allocations: 0 / 0.7536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.7657, allocations: 4.062 kB / 0.7536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.7657, allocations: 3.844 kB / 0.7536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.7657, allocations: 79.27 kB / 0.7536 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7657, allocations: 0 / 0.7536 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002612/0.766, allocations: 45.08 kB / 0.7537 GB, free: 24.51 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.0004752/0.7665, allocations: 0.6529 MB / 0.7543 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.452e-05/0.7666, allocations: 14.94 kB / 0.7543 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7666, allocations: 0 / 0.7543 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.7666, allocations: 11.62 kB / 0.7544 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.7667, allocations: 0 / 0.7544 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.767, allocations: 129.8 kB / 0.7545 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.7673, allocations: 0.6816 MB / 0.7551 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.7673, allocations: 8.781 kB / 0.7552 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.7673, allocations: 11.25 kB / 0.7552 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.7673, allocations: 0 / 0.7552 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.7798, allocations: 1.741 MB / 0.7569 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.78, allocations: 180.5 kB / 0.757 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.421, allocations: 3.938 kB / 0.757 GB, free: 22.7 MB / 0.5105 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)