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.006131/0.006131, allocations: 101 kB / 15.73 MB, free: 6.043 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.001103/0.001103, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9632/0.9632, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.88 kB / 0.5851 GB, free: 3.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4383, allocations: 80.9 MB / 0.6641 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001655/0.44, allocations: 0.5364 MB / 0.6647 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004966/0.4405, allocations: 317.6 kB / 0.665 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.4406, allocations: 4 kB / 0.665 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.4406, allocations: 1.406 kB / 0.665 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.191e-05/0.4406, allocations: 7.875 kB / 0.665 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.441, allocations: 94.47 kB / 0.6651 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.472e-05/0.4411, allocations: 21.31 kB / 0.6651 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.4411, allocations: 1.406 kB / 0.6651 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.4411, allocations: 6.25 kB / 0.6651 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.4412, allocations: 10.89 kB / 0.6651 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.4412, allocations: 0 / 0.6651 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.4414, allocations: 186.3 kB / 0.6653 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.4415, allocations: 5.016 kB / 0.6653 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.4415, allocations: 6.188 kB / 0.6653 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.4416, allocations: 83.52 kB / 0.6654 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4416, allocations: 0 / 0.6654 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4416, allocations: 1.375 kB / 0.6654 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.4416, allocations: 0 / 0.6654 GB, free: 6.41 MB / 0.4981 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.0002456/0.4419, allocations: 337.3 kB / 0.6657 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4419, allocations: 10.81 kB / 0.6657 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.442, allocations: 34.73 kB / 0.6657 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.442, allocations: 6.406 kB / 0.6658 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.619e-05/0.4421, allocations: 165.5 kB / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4421, allocations: 384 / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.4421, allocations: 6.531 kB / 0.6659 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.555e-05/0.4422, allocations: 45.16 kB / 0.666 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4422, allocations: 0 / 0.666 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.4422, allocations: 5.219 kB / 0.666 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4422, allocations: 0 / 0.666 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.4422, allocations: 3.125 kB / 0.666 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.4423, allocations: 153.6 kB / 0.6661 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.676e-05/0.4424, allocations: 19.17 kB / 0.6661 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.4424, allocations: 11.45 kB / 0.6661 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.4428, allocations: 0.5869 MB / 0.6667 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.4429, allocations: 35.72 kB / 0.6667 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4429, allocations: 0 / 0.6667 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003806/0.4433, allocations: 256.6 kB / 0.667 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.4433, allocations: 52.75 kB / 0.667 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.99e-05/0.4433, allocations: 98.22 kB / 0.6671 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.4434, allocations: 25.7 kB / 0.6672 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.4434, allocations: 85.58 kB / 0.6672 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.4434, allocations: 9.25 kB / 0.6673 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.4434, allocations: 17.81 kB / 0.6673 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.4435, allocations: 314.8 kB / 0.6676 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.4435, allocations: 8 kB / 0.6676 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.4435, allocations: 23.12 kB / 0.6676 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.4436, allocations: 30.58 kB / 0.6676 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4436, allocations: 1.188 kB / 0.6676 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.867e-05/0.4436, allocations: 48.86 kB / 0.6677 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4437, allocations: 9.406 kB / 0.6677 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4437, allocations: 1.375 kB / 0.6677 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4437, allocations: 1.406 kB / 0.6677 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/0.4437, allocations: 13.83 kB / 0.6677 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4437, allocations: 0 / 0.6677 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.4438, allocations: 1.156 kB / 0.6677 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4438, allocations: 1.469 kB / 0.6677 GB, free: 3.781 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.4438, allocations: 117.7 kB / 0.6678 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.4438, allocations: 1.25 kB / 0.6678 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.4439, allocations: 62.45 kB / 0.6679 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.444, allocations: 0 / 0.6679 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.444, allocations: 0 / 0.6679 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.444, allocations: 1.125 kB / 0.6679 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.713e-05/0.444, allocations: 157.7 kB / 0.668 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.444, allocations: 0 / 0.668 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.4441, allocations: 9.031 kB / 0.668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4441, allocations: 0.9688 kB / 0.668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.4441, allocations: 0 / 0.668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4441, allocations: 9.031 kB / 0.668 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4441, allocations: 8 kB / 0.6681 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.4442, allocations: 83.02 kB / 0.6681 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.4442, allocations: 78.36 kB / 0.6682 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.4443, allocations: 0 / 0.6682 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.4443, allocations: 1.469 kB / 0.6682 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.4443, allocations: 5.156 kB / 0.6682 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.4443, allocations: 1.312 kB / 0.6682 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.959e-05/0.4443, allocations: 82.14 kB / 0.6683 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4443, allocations: 4 kB / 0.6683 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.4446, allocations: 26 kB / 0.6683 GB, free: 3.113 MB / 0.4981 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 (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.000309/0.4449, allocations: 0.6447 MB / 0.669 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.809e-05/0.445, allocations: 16.17 kB / 0.669 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.445, allocations: 4.188 kB / 0.669 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.445, allocations: 13.03 kB / 0.669 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.4452, allocations: 5.25 kB / 0.669 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.4458, allocations: 1.144 MB / 0.6701 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.4459, allocations: 0.6738 MB / 0.6708 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.4459, allocations: 10.83 kB / 0.6708 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.4459, allocations: 14.59 kB / 0.6708 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4459, allocations: 4 kB / 0.6708 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.4702, allocations: 2.078 MB / 0.6728 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.072, allocations: 14.12 kB / 0.6728 GB, free: 15.51 MB / 0.5137 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)