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.683/1.683, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001089/0.001089, allocations: 188.8 kB / 366.7 MB, free: 1.668 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.888/1.888, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0009007/0.0009008, allocations: 89.38 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.122e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8378, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2157/1.054, allocations: 138.1 MB / 1.108 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.054, allocations: 79.95 kB / 1.108 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006649/1.061, allocations: 1.809 MB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.532e-06/1.061, allocations: 6.938 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.453e-05/1.061, allocations: 4 kB / 1.11 GB, free: 10.3 MB / 0.7136 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.00039/1.061, allocations: 331.8 kB / 1.11 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.061, allocations: 12.03 kB / 1.11 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/1.061, allocations: 0 / 1.11 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.061, allocations: 163 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/1.061, allocations: 1.312 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/1.061, allocations: 8 kB / 1.111 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.87e-05/1.061, allocations: 3.938 kB / 1.111 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.576e-05/1.062, allocations: 36.44 kB / 1.111 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.062, allocations: 0 / 1.111 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/1.062, allocations: 1.406 kB / 1.111 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.062, allocations: 0.5 kB / 1.111 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/1.062, allocations: 139.1 kB / 1.111 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/1.062, allocations: 29.2 kB / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/1.062, allocations: 8.922 kB / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006536/1.063, allocations: 0.5779 MB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.063, allocations: 34.55 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/1.063, allocations: 0 / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000734/1.063, allocations: 245 kB / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.063, allocations: 55.53 kB / 1.112 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/1.064, allocations: 93 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/1.064, allocations: 25.7 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/1.064, allocations: 80.14 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/1.064, allocations: 11.81 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/1.064, allocations: 0 / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.064, allocations: 321.7 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/1.064, allocations: 7.938 kB / 1.112 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/1.064, allocations: 17.72 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.2e-05/1.064, allocations: 8 kB / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/1.064, allocations: 0 / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001125/1.064, allocations: 49.64 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.064, allocations: 5.406 kB / 1.112 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.064, allocations: 4 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.064, allocations: 0 / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/1.064, allocations: 7.938 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/1.064, allocations: 8.062 kB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/1.064, allocations: 0 / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/1.064, allocations: 4 kB / 1.112 GB, free: 7.68 MB / 0.7136 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 9.249e-05/1.064, allocations: 101 kB / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001003/1.064, allocations: 48.52 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/1.065, allocations: 7.906 kB / 1.112 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/1.065, allocations: 58.11 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.065, allocations: 0 / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.065, allocations: 0 / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.065, allocations: 8.031 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/1.065, allocations: 134.2 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.065, allocations: 0 / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/1.065, allocations: 8 kB / 1.113 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.065, allocations: 3.953 kB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/1.065, allocations: 0 / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.065, allocations: 2.734 kB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.065, allocations: 0 / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/1.065, allocations: 73.12 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/1.065, allocations: 85.12 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/1.065, allocations: 7.891 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/1.065, allocations: 0 / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/1.065, allocations: 7.688 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/1.065, allocations: 8 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.87e-05/1.065, allocations: 75.28 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.065, allocations: 0 / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002502/1.066, allocations: 39.92 kB / 1.113 GB, free: 6.934 MB / 0.7136 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.0006074/1.066, allocations: 0.6476 MB / 1.113 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.679e-05/1.066, allocations: 15.94 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.066, allocations: 0 / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/1.066, allocations: 8 kB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/1.066, allocations: 3.953 kB / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/1.067, allocations: 121.8 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/1.067, allocations: 0.6845 MB / 1.114 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.683e-05/1.067, allocations: 4 kB / 1.114 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/1.067, allocations: 11.44 kB / 1.114 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/1.067, allocations: 0 / 1.114 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/1.091, allocations: 1.433 MB / 1.116 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/1.091, allocations: 166.7 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.896, allocations: 4.031 kB / 1.116 GB, free: 3.758 MB / 0.7136 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)