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.001315/0.001315, allocations: 107.7 kB / 16.4 MB, free: 6.473 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.001265/0.001265, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.778/0.778, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.22 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.177, allocations: 76.19 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001894/0.1789, allocations: 0.5205 MB / 0.6326 GB, free: 3.891 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.1796, allocations: 323.3 kB / 0.6329 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.1797, allocations: 0 / 0.6329 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1797, allocations: 0 / 0.6329 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.57e-05/0.1797, allocations: 0 / 0.6329 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.1802, allocations: 115.6 kB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.1803, allocations: 7.984 kB / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.1803, allocations: 0 / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.1803, allocations: 11.94 kB / 0.633 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.1804, allocations: 7.969 kB / 0.633 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1804, allocations: 4 kB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.1807, allocations: 179.8 kB / 0.6332 GB, free: 3.254 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.1807, allocations: 4 kB / 0.6332 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.1808, allocations: 7.938 kB / 0.6332 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1809, allocations: 79.86 kB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1809, allocations: 0 / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1809, allocations: 0 / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.181, allocations: 0 / 0.6333 GB, free: 3.164 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.0004004/0.1814, allocations: 347.4 kB / 0.6336 GB, free: 2.773 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1814, allocations: 8.031 kB / 0.6336 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.1815, allocations: 8.844 kB / 0.6336 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1816, allocations: 164.3 kB / 0.6338 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1816, allocations: 384 / 0.6338 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1817, allocations: 8.375 kB / 0.6338 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/0.1818, allocations: 34.25 kB / 0.6338 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1818, allocations: 4.188 kB / 0.6338 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1818, allocations: 3.938 kB / 0.6338 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1818, allocations: 0 / 0.6338 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.1818, allocations: 0 / 0.6338 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.182, allocations: 153.7 kB / 0.634 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.494e-05/0.1821, allocations: 30.55 kB / 0.634 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.1821, allocations: 8.859 kB / 0.634 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006714/0.1828, allocations: 0.5779 MB / 0.6346 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1828, allocations: 30.56 kB / 0.6346 GB, free: 1.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1828, allocations: 4 kB / 0.6346 GB, free: 1.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004906/0.1833, allocations: 258.2 kB / 0.6349 GB, free: 1.199 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1834, allocations: 51.41 kB / 0.6349 GB, free: 1.137 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.1834, allocations: 101.8 kB / 0.635 GB, free: 1.027 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1835, allocations: 25.7 kB / 0.635 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.1835, allocations: 80.14 kB / 0.6351 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1835, allocations: 8.125 kB / 0.6351 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.1836, allocations: 17.72 kB / 0.6351 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.1837, allocations: 318.8 kB / 0.6355 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.1837, allocations: 8 kB / 0.6355 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.1837, allocations: 17.72 kB / 0.6355 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.38e-05/0.1838, allocations: 29.64 kB / 0.6355 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1838, allocations: 7.938 kB / 0.6355 GB, free: 500 kB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.431e-05/0.1839, allocations: 61.81 kB / 0.6356 GB, free: 432 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1839, allocations: 11.94 kB / 0.6356 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1839, allocations: 0 / 0.6356 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1839, allocations: 0 / 0.6356 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.184, allocations: 11.98 kB / 0.6356 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.184, allocations: 0 / 0.6356 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.184, allocations: 0 / 0.6356 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.184, allocations: 0 / 0.6356 GB, free: 408 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.053e-05/0.1841, allocations: 117.8 kB / 0.6357 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.1841, allocations: 7.922 kB / 0.6357 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1843, allocations: 61.12 kB / 0.6358 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1843, allocations: 3.984 kB / 0.6358 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1843, allocations: 0 / 0.6358 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1843, allocations: 0 / 0.6358 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1844, allocations: 149.7 kB / 0.6359 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1844, allocations: 0 / 0.6359 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.1845, allocations: 8 kB / 0.6359 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1845, allocations: 7.938 kB / 0.6359 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1845, allocations: 4 kB / 0.6359 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1845, allocations: 0 / 0.6359 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1845, allocations: 0 / 0.6359 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1846, allocations: 77.11 kB / 0.636 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.1847, allocations: 81.14 kB / 0.6361 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1847, allocations: 3.938 kB / 0.6361 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.1848, allocations: 3.938 kB / 0.6361 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.1848, allocations: 4.062 kB / 0.6361 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1848, allocations: 4 kB / 0.6361 GB, free: 15.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.1848, allocations: 79.27 kB / 0.6362 GB, free: 15.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1848, allocations: 0 / 0.6362 GB, free: 15.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1851, allocations: 32 kB / 0.6362 GB, free: 15.66 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.0002256/0.1853, allocations: 123.2 kB / 0.6363 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.1854, allocations: 16 kB / 0.6363 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1854, allocations: 4.125 kB / 0.6363 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.1854, allocations: 15.92 kB / 0.6364 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.0001395/0.1856, allocations: 5.969 kB / 0.6364 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.1858, allocations: 105.5 kB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1861, allocations: 0.6768 MB / 0.6371 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1861, allocations: 4 kB / 0.6371 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.1861, allocations: 11.44 kB / 0.6371 GB, free: 14.64 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1861, allocations: 3.938 kB / 0.6371 GB, free: 14.63 MB / 494.1 MB Notification: Performance of Templates: time 0.003326/0.1895, allocations: 1.213 MB / 0.6383 GB, free: 13.42 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)