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: translateModel(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 115.8 kB / 17.09 MB, free: 5.977 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.001628/0.001628, allocations: 196.6 kB / 18.02 MB, free: 5.055 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.368/1.368, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7481/0.7481, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 68.84 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1468, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00172/0.1485, allocations: 0.5166 MB / 0.6332 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000712/0.1493, allocations: 335.2 kB / 0.6336 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1493, allocations: 0 / 0.6336 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.1493, allocations: 0 / 0.6336 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.1494, allocations: 3.938 kB / 0.6336 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.1498, allocations: 103.7 kB / 0.6337 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.238e-05/0.1498, allocations: 4 kB / 0.6337 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.1499, allocations: 4 kB / 0.6337 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.1499, allocations: 11.92 kB / 0.6337 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.15, allocations: 7.938 kB / 0.6337 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.15, allocations: 4 kB / 0.6337 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.1503, allocations: 183.8 kB / 0.6339 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.1503, allocations: 0 / 0.6339 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.1504, allocations: 11.94 kB / 0.6339 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1505, allocations: 79.84 kB / 0.634 GB, free: 3.148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1505, allocations: 0 / 0.634 GB, free: 3.148 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1505, allocations: 0 / 0.634 GB, free: 3.148 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1506, allocations: 0 / 0.634 GB, free: 3.148 MB / 478.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.0003885/0.151, allocations: 347.5 kB / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.151, allocations: 8.031 kB / 0.6343 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.1511, allocations: 8.844 kB / 0.6343 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1512, allocations: 160.4 kB / 0.6345 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1512, allocations: 384 / 0.6345 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1512, allocations: 384 / 0.6345 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1514, allocations: 38.25 kB / 0.6345 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1514, allocations: 4.188 kB / 0.6345 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1514, allocations: 3.938 kB / 0.6345 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1514, allocations: 4 kB / 0.6345 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.1514, allocations: 3.938 kB / 0.6345 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.1516, allocations: 153.7 kB / 0.6347 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.273e-05/0.1517, allocations: 22.61 kB / 0.6347 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.1517, allocations: 4.859 kB / 0.6347 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.1523, allocations: 0.5818 MB / 0.6352 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1524, allocations: 34.55 kB / 0.6353 GB, free: 1.496 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1524, allocations: 0 / 0.6353 GB, free: 1.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005249/0.1529, allocations: 262.5 kB / 0.6355 GB, free: 1.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1529, allocations: 51.41 kB / 0.6356 GB, free: 1.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.153, allocations: 97.84 kB / 0.6357 GB, free: 1.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.153, allocations: 33.64 kB / 0.6357 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.1531, allocations: 80.14 kB / 0.6358 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1531, allocations: 7.844 kB / 0.6358 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.1531, allocations: 21.7 kB / 0.6358 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1532, allocations: 314.8 kB / 0.6361 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.1533, allocations: 12 kB / 0.6361 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.1533, allocations: 17.7 kB / 0.6361 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.1534, allocations: 21.72 kB / 0.6362 GB, free: 496 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1534, allocations: 0 / 0.6362 GB, free: 496 kB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.277e-05/0.1535, allocations: 57.53 kB / 0.6362 GB, free: 432 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1535, allocations: 15.88 kB / 0.6362 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1535, allocations: 4.062 kB / 0.6362 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1535, allocations: 0 / 0.6362 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.1536, allocations: 8 kB / 0.6362 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1536, allocations: 0 / 0.6362 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.1536, allocations: 4 kB / 0.6362 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1536, allocations: 0 / 0.6362 GB, free: 400 kB / 478.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 7.231e-05/0.1537, allocations: 117.7 kB / 0.6364 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.1537, allocations: 3.938 kB / 0.6364 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1538, allocations: 61.5 kB / 0.6364 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1538, allocations: 48 / 0.6364 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1538, allocations: 3.984 kB / 0.6364 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1539, allocations: 0 / 0.6364 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.154, allocations: 153.7 kB / 0.6366 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.154, allocations: 0 / 0.6366 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.154, allocations: 4 kB / 0.6366 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.154, allocations: 3.938 kB / 0.6366 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1541, allocations: 8 kB / 0.6366 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1541, allocations: 0 / 0.6366 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1541, allocations: 3.984 kB / 0.6366 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.1542, allocations: 81.06 kB / 0.6367 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.1542, allocations: 81.14 kB / 0.6367 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1543, allocations: 3.938 kB / 0.6367 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.26e-05/0.1543, allocations: 4 kB / 0.6368 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.1543, allocations: 0 / 0.6368 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1543, allocations: 7.984 kB / 0.6368 GB, free: 15.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.954e-05/0.1544, allocations: 75.28 kB / 0.6368 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1544, allocations: 64 / 0.6368 GB, free: 15.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1546, allocations: 32 kB / 0.6369 GB, free: 15.65 MB / 494.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.0001938/0.1548, allocations: 123.2 kB / 0.637 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.488e-05/0.1549, allocations: 19.92 kB / 0.637 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1549, allocations: 4 kB / 0.637 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.1549, allocations: 8 kB / 0.637 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.1551, allocations: 3.938 kB / 0.637 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.1553, allocations: 139.3 kB / 0.6371 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.1555, allocations: 0.6768 MB / 0.6378 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.1556, allocations: 11.44 kB / 0.6378 GB, free: 14.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1556, allocations: 0 / 0.6378 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Templates: time 0.002518/0.1581, allocations: 0.8263 MB / 0.6386 GB, free: 13.77 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)