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.001157/0.001157, allocations: 101.1 kB / 16.27 MB, free: 5.848 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.001113/0.001113, allocations: 187.4 kB / 17.19 MB, free: 5.5 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.206/1.206, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6866/0.6866, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2755, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001459/0.277, allocations: 0.5226 MB / 0.5678 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005012/0.2775, allocations: 320.4 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.2775, allocations: 1.969 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.2775, allocations: 0 / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.991e-05/0.2776, allocations: 4.781 kB / 0.5681 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.2779, allocations: 95.69 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.456e-05/0.278, allocations: 15.41 kB / 0.5682 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.278, allocations: 3.844 kB / 0.5682 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.278, allocations: 7.391 kB / 0.5682 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.2781, allocations: 7.359 kB / 0.5682 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2781, allocations: 1.125 kB / 0.5682 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.2784, allocations: 193.8 kB / 0.5684 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.2784, allocations: 0 / 0.5684 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.2784, allocations: 8.281 kB / 0.5684 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.2785, allocations: 81.42 kB / 0.5685 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2786, allocations: 0 / 0.5685 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2786, allocations: 0 / 0.5685 GB, free: 32.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.2786, allocations: 1.969 kB / 0.5685 GB, free: 32.09 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.0002344/0.2788, allocations: 341.8 kB / 0.5688 GB, free: 31.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2789, allocations: 10.5 kB / 0.5688 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.2789, allocations: 31.73 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.2789, allocations: 4.938 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.701e-05/0.279, allocations: 166.8 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.279, allocations: 1.812 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.279, allocations: 2.734 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.365e-05/0.2791, allocations: 44.48 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2791, allocations: 7.875 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.2791, allocations: 0.6875 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2791, allocations: 5.344 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.2791, allocations: 2.891 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.2792, allocations: 153.9 kB / 0.5692 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.2793, allocations: 21.69 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.2793, allocations: 8.391 kB / 0.5693 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.2797, allocations: 0.5793 MB / 0.5698 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.2798, allocations: 35.16 kB / 0.5699 GB, free: 30.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2798, allocations: 2.219 kB / 0.5699 GB, free: 30.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003635/0.2801, allocations: 260.2 kB / 0.5701 GB, free: 30.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.2802, allocations: 54.48 kB / 0.5702 GB, free: 30.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.803e-05/0.2802, allocations: 94.7 kB / 0.5703 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.2802, allocations: 26.8 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.2802, allocations: 87.8 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.2803, allocations: 4.844 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.2803, allocations: 19.33 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.421e-05/0.2803, allocations: 314.8 kB / 0.5707 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.2804, allocations: 4.781 kB / 0.5707 GB, free: 29.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.2804, allocations: 20.27 kB / 0.5707 GB, free: 29.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.2804, allocations: 30.17 kB / 0.5708 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2804, allocations: 4 kB / 0.5708 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.881e-05/0.2805, allocations: 54.48 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.2805, allocations: 9.5 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2805, allocations: 1.125 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2805, allocations: 0.9375 kB / 0.5708 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.2806, allocations: 12 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2806, allocations: 1.375 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.2806, allocations: 1.703 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2806, allocations: 2.219 kB / 0.5708 GB, free: 29.52 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.822e-05/0.2807, allocations: 117.5 kB / 0.5709 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.2807, allocations: 6.312 kB / 0.571 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.18e-05/0.2808, allocations: 55.44 kB / 0.571 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2808, allocations: 1.469 kB / 0.571 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2808, allocations: 0.7812 kB / 0.571 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2808, allocations: 1.281 kB / 0.571 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.658e-05/0.2809, allocations: 155.7 kB / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2809, allocations: 0 / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.2809, allocations: 9.016 kB / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2809, allocations: 6.406 kB / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2809, allocations: 1.75 kB / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2809, allocations: 0 / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2809, allocations: 0.7812 kB / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.441e-05/0.281, allocations: 82.11 kB / 0.5713 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.2811, allocations: 90.94 kB / 0.5713 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.2811, allocations: 1.688 kB / 0.5713 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.2811, allocations: 2.5 kB / 0.5713 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.2811, allocations: 6.266 kB / 0.5714 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.2811, allocations: 2.969 kB / 0.5714 GB, free: 28.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.633e-05/0.2812, allocations: 78.89 kB / 0.5714 GB, free: 28.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2812, allocations: 0 / 0.5714 GB, free: 28.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.2814, allocations: 28.67 kB / 0.5715 GB, free: 28.89 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.0002816/0.2817, allocations: 0.6434 MB / 0.5721 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.2817, allocations: 23.34 kB / 0.5721 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2818, allocations: 0 / 0.5721 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.2818, allocations: 12.5 kB / 0.5721 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.2819, allocations: 1.734 kB / 0.5721 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.2825, allocations: 1.134 MB / 0.5732 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.706e-05/0.2826, allocations: 0.6779 MB / 0.5739 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.198e-05/0.2826, allocations: 4.969 kB / 0.5739 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.2826, allocations: 10.34 kB / 0.5739 GB, free: 26.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2826, allocations: 4.594 kB / 0.5739 GB, free: 26.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/1.408, allocations: 2.083 MB / 0.5759 GB, free: 26.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.901/10.31, allocations: 11.27 kB / 0.576 GB, free: 26.13 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)