Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.007663/0.007663, allocations: 100.3 kB / 15.87 MB, free: 6.293 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.001823/0.001823, allocations: 200.8 kB / 16.79 MB, free: 6.223 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.335/1.335, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6672/0.6672, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.8 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 76.18 MB / 0.5559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001855/0.1605, allocations: 0.6434 MB / 0.5565 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004267/0.161, allocations: 177.9 kB / 0.5567 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.161, allocations: 4 kB / 0.5567 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.161, allocations: 0 / 0.5567 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.822e-05/0.161, allocations: 0 / 0.5567 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1613, allocations: 33.77 kB / 0.5567 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.1614, allocations: 15.98 kB / 0.5567 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.1614, allocations: 0 / 0.5567 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.1614, allocations: 7.984 kB / 0.5567 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.1615, allocations: 15.92 kB / 0.5567 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1615, allocations: 0 / 0.5567 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.1616, allocations: 35.97 kB / 0.5568 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1616, allocations: 0 / 0.5568 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1616, allocations: 7.938 kB / 0.5568 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.25e-05/0.1617, allocations: 35.94 kB / 0.5568 GB, free: 9.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1617, allocations: 0 / 0.5568 GB, free: 9.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1618, allocations: 0 / 0.5568 GB, free: 9.789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1618, allocations: 3.938 kB / 0.5568 GB, free: 9.785 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003684/0.1621, allocations: 327.6 kB / 0.5571 GB, free: 9.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1622, allocations: 8.031 kB / 0.5571 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.1622, allocations: 34.75 kB / 0.5572 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1623, allocations: 8.844 kB / 0.5572 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1624, allocations: 160.7 kB / 0.5573 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1624, allocations: 4.359 kB / 0.5573 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1624, allocations: 8.375 kB / 0.5573 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1625, allocations: 50.12 kB / 0.5574 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1626, allocations: 3.938 kB / 0.5574 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1626, allocations: 0 / 0.5574 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1626, allocations: 0 / 0.5574 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.1626, allocations: 15.98 kB / 0.5574 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1628, allocations: 165.6 kB / 0.5576 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.1629, allocations: 46.56 kB / 0.5576 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.163, allocations: 16.98 kB / 0.5576 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.235e-05/0.1631, allocations: 81.11 kB / 0.5577 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1631, allocations: 34.55 kB / 0.5577 GB, free: 8.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1631, allocations: 0 / 0.5577 GB, free: 8.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.00128/0.1644, allocations: 492.4 kB / 0.5582 GB, free: 8.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.1644, allocations: 51.41 kB / 0.5583 GB, free: 8.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.1645, allocations: 93.86 kB / 0.5583 GB, free: 7.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1645, allocations: 29.7 kB / 0.5584 GB, free: 7.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.1645, allocations: 80.14 kB / 0.5584 GB, free: 7.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1646, allocations: 27.64 kB / 0.5585 GB, free: 7.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1646, allocations: 17.72 kB / 0.5585 GB, free: 7.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1647, allocations: 319 kB / 0.5588 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.1648, allocations: 15.94 kB / 0.5588 GB, free: 7.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.1648, allocations: 15.98 kB / 0.5588 GB, free: 7.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.1649, allocations: 41.06 kB / 0.5589 GB, free: 7.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1649, allocations: 4 kB / 0.5589 GB, free: 7.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001113/0.165, allocations: 69.53 kB / 0.5589 GB, free: 7.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.165, allocations: 4 kB / 0.5589 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.165, allocations: 3.938 kB / 0.5589 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.165, allocations: 0 / 0.5589 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.1651, allocations: 23.92 kB / 0.559 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1651, allocations: 0 / 0.559 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.1652, allocations: 8 kB / 0.559 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1652, allocations: 0 / 0.559 GB, free: 7.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 8.305e-05/0.1653, allocations: 109.8 kB / 0.5591 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.1653, allocations: 3.938 kB / 0.5591 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.1655, allocations: 81.64 kB / 0.5592 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1655, allocations: 7.938 kB / 0.5592 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1655, allocations: 0 / 0.5592 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1655, allocations: 3.984 kB / 0.5592 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.1656, allocations: 169.6 kB / 0.5593 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1656, allocations: 0 / 0.5593 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.1657, allocations: 15.94 kB / 0.5593 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1657, allocations: 0 / 0.5593 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1657, allocations: 3.984 kB / 0.5594 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1657, allocations: 4 kB / 0.5594 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1657, allocations: 0 / 0.5594 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1659, allocations: 117 kB / 0.5595 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.166, allocations: 81.05 kB / 0.5595 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.166, allocations: 7.969 kB / 0.5596 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.166, allocations: 0 / 0.5596 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.1661, allocations: 8.047 kB / 0.5596 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1661, allocations: 8 kB / 0.5596 GB, free: 6.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.1661, allocations: 79.28 kB / 0.5596 GB, free: 6.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1661, allocations: 160 / 0.5596 GB, free: 6.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1664, allocations: 32 kB / 0.5597 GB, free: 6.43 MB / 430.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 (8): * Single equations (assignments): 8 * 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.0005231/0.1669, allocations: 0.6749 MB / 0.5603 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.167, allocations: 43.91 kB / 0.5604 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.167, allocations: 0 / 0.5604 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.393e-05/0.167, allocations: 20.52 kB / 0.5604 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.1672, allocations: 15.94 kB / 0.5604 GB, free: 5.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.1682, allocations: 1.205 MB / 0.5616 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1684, allocations: 0.6809 MB / 0.5623 GB, free: 3.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.695e-05/0.1685, allocations: 4 kB / 0.5623 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.1685, allocations: 15.44 kB / 0.5623 GB, free: 3.641 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1685, allocations: 4 kB / 0.5623 GB, free: 3.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4359/0.6044, allocations: 1.658 MB / 0.5639 GB, free: 2.145 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.6047, allocations: 230.3 kB / 0.5641 GB, free: 1.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.625, allocations: 0 / 0.5641 GB, free: 1.891 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)