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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 180.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5358/0.5358, allocations: 90.92 MB / 99.35 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 94.47 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.82e-05/1.822e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1556, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.668, allocations: 100.6 MB / 0.6518 GB, free: 9.727 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.6684, allocations: 83 kB / 0.6519 GB, free: 9.676 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006214/0.6746, allocations: 1.81 MB / 0.6537 GB, free: 8.094 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6746, allocations: 0 / 0.6537 GB, free: 8.094 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.6747, allocations: 3.938 kB / 0.6537 GB, free: 8.09 MB / 458.7 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.0003456/0.675, allocations: 346 kB / 0.654 GB, free: 7.711 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.6751, allocations: 8.031 kB / 0.654 GB, free: 7.703 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.6751, allocations: 8.484 kB / 0.654 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.6753, allocations: 171 kB / 0.6542 GB, free: 7.488 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.6753, allocations: 4 kB / 0.6542 GB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.6753, allocations: 0 / 0.6542 GB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.5e-05/0.6754, allocations: 4 kB / 0.6542 GB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.052e-05/0.6755, allocations: 33.08 kB / 0.6542 GB, free: 7.445 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6755, allocations: 2.25 kB / 0.6542 GB, free: 7.445 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.6755, allocations: 0 / 0.6542 GB, free: 7.445 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.6755, allocations: 3.953 kB / 0.6542 GB, free: 7.441 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.6757, allocations: 134.2 kB / 0.6544 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.6758, allocations: 29.67 kB / 0.6544 GB, free: 7.238 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.6758, allocations: 4.859 kB / 0.6544 GB, free: 7.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/0.6765, allocations: 0.577 MB / 0.655 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.6765, allocations: 38.56 kB / 0.655 GB, free: 6.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.6765, allocations: 0 / 0.655 GB, free: 6.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006523/0.6772, allocations: 241.1 kB / 0.6552 GB, free: 6.199 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.6772, allocations: 55.41 kB / 0.6553 GB, free: 6.133 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.6773, allocations: 85.19 kB / 0.6554 GB, free: 6.043 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.6773, allocations: 29.7 kB / 0.6554 GB, free: 6.008 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.6774, allocations: 88.25 kB / 0.6555 GB, free: 5.918 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.6774, allocations: 6.281 kB / 0.6555 GB, free: 5.914 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.6774, allocations: 0 / 0.6555 GB, free: 5.914 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6776, allocations: 317.8 kB / 0.6558 GB, free: 5.598 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.6776, allocations: 4 kB / 0.6558 GB, free: 5.594 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.6776, allocations: 20.88 kB / 0.6558 GB, free: 5.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.6777, allocations: 15.92 kB / 0.6558 GB, free: 5.555 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.6777, allocations: 0 / 0.6558 GB, free: 5.555 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001037/0.6778, allocations: 52.83 kB / 0.6559 GB, free: 5.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6778, allocations: 4 kB / 0.6559 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6778, allocations: 0 / 0.6559 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6779, allocations: 0 / 0.6559 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.6779, allocations: 11.98 kB / 0.6559 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6779, allocations: 0 / 0.6559 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.678, allocations: 0 / 0.6559 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.678, allocations: 4 kB / 0.6559 GB, free: 5.48 MB / 458.7 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 () * 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.595e-05/0.6781, allocations: 109 kB / 0.656 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.545e-05/0.6782, allocations: 52.59 kB / 0.6561 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.6782, allocations: 0 / 0.6561 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.6783, allocations: 48.38 kB / 0.6561 GB, free: 5.262 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6783, allocations: 4 kB / 0.6561 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6784, allocations: 3.938 kB / 0.6561 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6784, allocations: 0 / 0.6561 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.6785, allocations: 137.2 kB / 0.6562 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6785, allocations: 2.875 kB / 0.6562 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.6786, allocations: 11.92 kB / 0.6562 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6786, allocations: 4 kB / 0.6563 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.6786, allocations: 0 / 0.6563 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6786, allocations: 4 kB / 0.6563 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6786, allocations: 0 / 0.6563 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.6788, allocations: 75.45 kB / 0.6563 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.6788, allocations: 81.02 kB / 0.6564 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.6788, allocations: 0 / 0.6564 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.46e-05/0.6789, allocations: 4.031 kB / 0.6564 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.6789, allocations: 8.047 kB / 0.6564 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.6789, allocations: 0 / 0.6564 GB, free: 4.871 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.766e-05/0.679, allocations: 82.41 kB / 0.6565 GB, free: 4.793 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.679, allocations: 0 / 0.6565 GB, free: 4.793 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.6792, allocations: 31.94 kB / 0.6565 GB, free: 4.762 MB / 458.7 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 () * 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.0005915/0.6798, allocations: 0.6503 MB / 0.6572 GB, free: 4.086 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.6799, allocations: 19.67 kB / 0.6572 GB, free: 4.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6799, allocations: 0 / 0.6572 GB, free: 4.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.6799, allocations: 12.3 kB / 0.6572 GB, free: 4.059 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.68, allocations: 0 / 0.6572 GB, free: 4.059 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.6804, allocations: 122.9 kB / 0.6573 GB, free: 3.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.6808, allocations: 0.6845 MB / 0.658 GB, free: 3.195 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.6808, allocations: 9.203 kB / 0.658 GB, free: 3.188 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.6808, allocations: 10.56 kB / 0.658 GB, free: 3.18 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6809, allocations: 4 kB / 0.658 GB, free: 3.176 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.7039, allocations: 1.421 MB / 0.6594 GB, free: 1.758 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003878/0.7044, allocations: 171.3 kB / 0.6596 GB, free: 1.562 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.382, allocations: 3.625 kB / 0.6596 GB, free: 1.562 MB / 458.7 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/linux/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)