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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 102.8 kB / 16.4 MB, free: 6.438 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.001096/0.001096, allocations: 195.4 kB / 17.34 MB, free: 5.746 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7136/0.7136, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.64 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1542, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001759/0.156, allocations: 0.5233 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006292/0.1567, allocations: 327.2 kB / 0.6324 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.1567, allocations: 0 / 0.6324 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.1567, allocations: 0 / 0.6324 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.384e-05/0.1568, allocations: 4 kB / 0.6324 GB, free: 4.059 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.1572, allocations: 103.6 kB / 0.6325 GB, free: 3.957 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.1573, allocations: 15.98 kB / 0.6325 GB, free: 3.941 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1573, allocations: 0 / 0.6325 GB, free: 3.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.1574, allocations: 7.938 kB / 0.6325 GB, free: 3.934 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.1574, allocations: 3.984 kB / 0.6325 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1574, allocations: 0 / 0.6325 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.1577, allocations: 191.8 kB / 0.6327 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.1578, allocations: 4 kB / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.1578, allocations: 7.938 kB / 0.6327 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.158, allocations: 79.86 kB / 0.6328 GB, free: 3.652 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.158, allocations: 0 / 0.6328 GB, free: 3.652 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.158, allocations: 0 / 0.6328 GB, free: 3.652 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.158, allocations: 0 / 0.6328 GB, free: 3.652 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.0003976/0.1584, allocations: 342.3 kB / 0.6331 GB, free: 3.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1584, allocations: 8.031 kB / 0.6331 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1585, allocations: 34.69 kB / 0.6332 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.1585, allocations: 4.844 kB / 0.6332 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1586, allocations: 172.4 kB / 0.6333 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1586, allocations: 384 / 0.6333 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1587, allocations: 384 / 0.6333 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.1588, allocations: 34.27 kB / 0.6334 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1588, allocations: 3.938 kB / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1588, allocations: 4 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1588, allocations: 0 / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.1588, allocations: 3.984 kB / 0.6334 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.159, allocations: 157.7 kB / 0.6335 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.159, allocations: 26.53 kB / 0.6336 GB, free: 2.719 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.1591, allocations: 8.922 kB / 0.6336 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.1597, allocations: 0.5817 MB / 0.6341 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1597, allocations: 30.56 kB / 0.6342 GB, free: 1.957 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1597, allocations: 0 / 0.6342 GB, free: 1.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004712/0.1602, allocations: 254.2 kB / 0.6344 GB, free: 1.656 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1602, allocations: 55.41 kB / 0.6345 GB, free: 1.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.1603, allocations: 101.8 kB / 0.6346 GB, free: 1.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1603, allocations: 29.92 kB / 0.6346 GB, free: 1.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.1604, allocations: 84.14 kB / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1604, allocations: 8.688 kB / 0.6347 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.1604, allocations: 17.72 kB / 0.6347 GB, free: 1.328 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1605, allocations: 318.8 kB / 0.635 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.1605, allocations: 0 / 0.635 GB, free: 1.008 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.1606, allocations: 25.89 kB / 0.635 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.1606, allocations: 25.72 kB / 0.6351 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1606, allocations: 3.938 kB / 0.6351 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.368e-05/0.1607, allocations: 57.53 kB / 0.6351 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1608, allocations: 11.94 kB / 0.6351 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1608, allocations: 0 / 0.6351 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1608, allocations: 96 / 0.6351 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.1608, allocations: 4 kB / 0.6351 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1608, allocations: 7.984 kB / 0.6351 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.1609, allocations: 8.047 kB / 0.6351 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1609, allocations: 0 / 0.6351 GB, free: 0.8477 MB / 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 6.886e-05/0.161, allocations: 113.8 kB / 0.6352 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.161, allocations: 7.938 kB / 0.6353 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.1611, allocations: 53.12 kB / 0.6353 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1611, allocations: 4 kB / 0.6353 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1611, allocations: 0 / 0.6353 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1611, allocations: 0 / 0.6353 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1612, allocations: 153.7 kB / 0.6355 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1612, allocations: 7.984 kB / 0.6355 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.1613, allocations: 4 kB / 0.6355 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1613, allocations: 3.938 kB / 0.6355 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1613, allocations: 4 kB / 0.6355 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1613, allocations: 0 / 0.6355 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1613, allocations: 3.984 kB / 0.6355 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.1615, allocations: 77.06 kB / 0.6356 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.1615, allocations: 81.05 kB / 0.6356 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1615, allocations: 12.08 kB / 0.6356 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.224e-05/0.1616, allocations: 0 / 0.6356 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.1616, allocations: 4 kB / 0.6356 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1616, allocations: 4 kB / 0.6356 GB, free: 224 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.1616, allocations: 75.28 kB / 0.6357 GB, free: 148 kB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1616, allocations: 0 / 0.6357 GB, free: 148 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1619, allocations: 31.98 kB / 0.6358 GB, free: 116 kB / 478.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.0004559/0.1623, allocations: 0.6514 MB / 0.6364 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.231e-05/0.1624, allocations: 19.92 kB / 0.6364 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1624, allocations: 0 / 0.6364 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.1625, allocations: 7.938 kB / 0.6364 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.1626, allocations: 8 kB / 0.6364 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.1635, allocations: 1.132 MB / 0.6375 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.1638, allocations: 0.6768 MB / 0.6382 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.1638, allocations: 7.984 kB / 0.6382 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1639, allocations: 19.42 kB / 0.6382 GB, free: 13.44 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1639, allocations: 0 / 0.6382 GB, free: 13.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.1829, allocations: 2.093 MB / 0.6403 GB, free: 11.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.577, allocations: 9.797 kB / 0.6403 GB, free: 11.49 MB / 494.1 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/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)