Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.0009683/0.0009683, allocations: 102.4 kB / 15.98 MB, free: 6.355 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.001/0.001, allocations: 198.7 kB / 16.91 MB, free: 6.199 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.224/1.224, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6754/0.6754, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2851, allocations: 76.16 MB / 0.556 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001582/0.2867, allocations: 0.5905 MB / 0.5566 GB, free: 36.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004661/0.2872, allocations: 319.8 kB / 0.5569 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.73e-05/0.2872, allocations: 1.062 kB / 0.5569 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2872, allocations: 0 / 0.5569 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.2873, allocations: 3.938 kB / 0.5569 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.2876, allocations: 86.34 kB / 0.557 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.908e-05/0.2877, allocations: 10.94 kB / 0.557 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.2877, allocations: 6.953 kB / 0.557 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.2877, allocations: 3.312 kB / 0.557 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.2878, allocations: 10.7 kB / 0.557 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2878, allocations: 1.156 kB / 0.557 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.288, allocations: 185 kB / 0.5572 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.2881, allocations: 2.094 kB / 0.5572 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.2881, allocations: 10.02 kB / 0.5572 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.2882, allocations: 86.22 kB / 0.5573 GB, free: 35.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2882, allocations: 1.875 kB / 0.5573 GB, free: 35.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2882, allocations: 0 / 0.5573 GB, free: 35.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.2882, allocations: 0 / 0.5573 GB, free: 35.69 MB / 446.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.0002376/0.2885, allocations: 335.4 kB / 0.5576 GB, free: 35.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2885, allocations: 9.438 kB / 0.5576 GB, free: 35.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.203e-05/0.2885, allocations: 32.56 kB / 0.5577 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.2886, allocations: 2.25 kB / 0.5577 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.214e-05/0.2886, allocations: 167.9 kB / 0.5578 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2887, allocations: 1.75 kB / 0.5578 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.2887, allocations: 6.531 kB / 0.5578 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.544e-05/0.2888, allocations: 43.53 kB / 0.5579 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2888, allocations: 3.938 kB / 0.5579 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2888, allocations: 0 / 0.5579 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2888, allocations: 1.375 kB / 0.5579 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.2888, allocations: 9.438 kB / 0.5579 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.813e-05/0.2889, allocations: 152.3 kB / 0.558 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.705e-05/0.289, allocations: 20.98 kB / 0.558 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.289, allocations: 16.64 kB / 0.5581 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/0.2894, allocations: 0.5764 MB / 0.5586 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.2895, allocations: 31.12 kB / 0.5587 GB, free: 34.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2895, allocations: 1.438 kB / 0.5587 GB, free: 34.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000391/0.2899, allocations: 262.7 kB / 0.5589 GB, free: 33.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.2899, allocations: 53.44 kB / 0.559 GB, free: 33.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.376e-05/0.2899, allocations: 95.08 kB / 0.559 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/0.2899, allocations: 25.7 kB / 0.5591 GB, free: 33.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.633e-05/0.29, allocations: 85.83 kB / 0.5592 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.29, allocations: 8.266 kB / 0.5592 GB, free: 33.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.29, allocations: 17.44 kB / 0.5592 GB, free: 33.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.2901, allocations: 314.7 kB / 0.5595 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.2901, allocations: 3.781 kB / 0.5595 GB, free: 33.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.2901, allocations: 22.97 kB / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.2901, allocations: 28.94 kB / 0.5595 GB, free: 33.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2902, allocations: 0 / 0.5595 GB, free: 33.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.105e-05/0.2902, allocations: 50.83 kB / 0.5596 GB, free: 33.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2902, allocations: 19.38 kB / 0.5596 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2903, allocations: 0 / 0.5596 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2903, allocations: 1.875 kB / 0.5596 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.2903, allocations: 5.781 kB / 0.5596 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2903, allocations: 7.031 kB / 0.5596 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.2904, allocations: 4 kB / 0.5596 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.2904, allocations: 5.469 kB / 0.5596 GB, free: 33.13 MB / 446.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 3.993e-05/0.2904, allocations: 113.8 kB / 0.5597 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.2904, allocations: 9.156 kB / 0.5597 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.521e-05/0.2905, allocations: 57.39 kB / 0.5598 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2905, allocations: 0 / 0.5598 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2905, allocations: 0 / 0.5598 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2905, allocations: 5.531 kB / 0.5598 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.791e-05/0.2906, allocations: 154 kB / 0.5599 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2906, allocations: 0 / 0.5599 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.2907, allocations: 6.578 kB / 0.56 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2907, allocations: 3.938 kB / 0.56 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.2907, allocations: 2.094 kB / 0.56 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2907, allocations: 0 / 0.56 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2907, allocations: 0 / 0.56 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.2908, allocations: 78.39 kB / 0.56 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.2908, allocations: 84.47 kB / 0.5601 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.2908, allocations: 5.375 kB / 0.5601 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.2909, allocations: 1.359 kB / 0.5601 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.2909, allocations: 2.219 kB / 0.5601 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.2909, allocations: 11.77 kB / 0.5601 GB, free: 32.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.768e-05/0.2909, allocations: 78.84 kB / 0.5602 GB, free: 32.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2909, allocations: 1.656 kB / 0.5602 GB, free: 32.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.2911, allocations: 27.58 kB / 0.5602 GB, free: 32.51 MB / 446.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.0002904/0.2914, allocations: 0.6434 MB / 0.5609 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.2915, allocations: 23.91 kB / 0.5609 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2915, allocations: 1.281 kB / 0.5609 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.491e-05/0.2916, allocations: 6.391 kB / 0.5609 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.2917, allocations: 9.344 kB / 0.5609 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.2923, allocations: 1.14 MB / 0.562 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.787e-05/0.2924, allocations: 0.6768 MB / 0.5627 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.536e-05/0.2924, allocations: 11.86 kB / 0.5627 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.2925, allocations: 14.12 kB / 0.5627 GB, free: 30.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2925, allocations: 1.188 kB / 0.5627 GB, free: 30.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.032/1.324, allocations: 1.997 MB / 0.5647 GB, free: 29.88 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.324, allocations: 230.9 kB / 0.5649 GB, free: 29.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/3.073, allocations: 1.875 kB / 0.5649 GB, free: 29.62 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)