Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001297, allocations: 181 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 0.6366 GB, free: 8.555 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 94.47 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7939/1.074, allocations: 138.8 MB / 1.124 GB, free: 35.7 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/1.075, allocations: 82.62 kB / 1.124 GB, free: 35.63 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005928/1.081, allocations: 1.822 MB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.334e-06/1.081, allocations: 4 kB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.414e-05/1.081, allocations: 4 kB / 1.126 GB, free: 34.27 MB / 0.7292 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.0003062/1.081, allocations: 343.3 kB / 1.126 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.081, allocations: 12.03 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/1.081, allocations: 30.56 kB / 1.126 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/1.081, allocations: 2.844 kB / 1.126 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/1.081, allocations: 168.2 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/1.081, allocations: 4.5 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/1.081, allocations: 3.438 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/1.081, allocations: 41.17 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/1.081, allocations: 0 / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/1.081, allocations: 0 / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/1.081, allocations: 3.938 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/1.081, allocations: 7.938 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/1.081, allocations: 153.8 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/1.082, allocations: 23.2 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004161/1.082, allocations: 0.5809 MB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/1.082, allocations: 30.56 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/1.082, allocations: 0 / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004529/1.082, allocations: 259.7 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/1.082, allocations: 54.92 kB / 1.127 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/1.083, allocations: 89 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/1.083, allocations: 25.7 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/1.083, allocations: 84.73 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/1.083, allocations: 15.81 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.083, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/1.083, allocations: 318.3 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/1.083, allocations: 8 kB / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/1.083, allocations: 13.72 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/1.083, allocations: 11.42 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/1.083, allocations: 0.5625 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.649e-05/1.083, allocations: 53.59 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.083, allocations: 8 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.083, allocations: 7.484 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.083, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/1.083, allocations: 8.625 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.083, allocations: 0.5625 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/1.083, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.083, allocations: 0.5156 kB / 1.128 GB, free: 31.62 MB / 0.7292 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 4.896e-05/1.083, allocations: 113.8 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/1.083, allocations: 3.953 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/1.083, allocations: 65.48 kB / 1.128 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.083, allocations: 9.125 kB / 1.128 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.083, allocations: 0 / 1.128 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/1.083, allocations: 0 / 1.128 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.613e-05/1.083, allocations: 153.2 kB / 1.128 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.083, allocations: 0.5 kB / 1.128 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/1.083, allocations: 7.375 kB / 1.128 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.083, allocations: 4.891 kB / 1.128 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/1.083, allocations: 4 kB / 1.128 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.083, allocations: 0.5 kB / 1.128 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.083, allocations: 2.141 kB / 1.128 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/1.084, allocations: 76.56 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/1.084, allocations: 84.52 kB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/1.084, allocations: 8.484 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/1.084, allocations: 0 / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/1.084, allocations: 0 / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/1.084, allocations: 4.688 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.935e-05/1.084, allocations: 83.22 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/1.084, allocations: 4.062 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002591/1.084, allocations: 35.94 kB / 1.129 GB, free: 30.9 MB / 0.7292 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.000386/1.084, allocations: 0.6435 MB / 1.129 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.553e-05/1.084, allocations: 20.5 kB / 1.129 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.084, allocations: 192 / 1.129 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/1.084, allocations: 11.33 kB / 1.129 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/1.085, allocations: 7.953 kB / 1.129 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/1.085, allocations: 0.5335 MB / 1.13 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.625e-05/1.085, allocations: 0.6881 MB / 1.131 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.895e-05/1.085, allocations: 9.156 kB / 1.131 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/1.085, allocations: 7.438 kB / 1.131 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/1.085, allocations: 0 / 1.131 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/1.098, allocations: 1.741 MB / 1.132 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.098, allocations: 201.9 kB / 1.133 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.686, allocations: 0.5 kB / 1.133 GB, free: 27.77 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)