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.001293/0.001293, allocations: 107 kB / 16.41 MB, free: 6.449 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.001329/0.001329, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8487/0.8487, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 74.44 kB / 0.5736 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1473, allocations: 78.88 MB / 0.6506 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00162/0.149, allocations: 0.5909 MB / 0.6512 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004079/0.1494, allocations: 167.8 kB / 0.6513 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.1494, allocations: 0 / 0.6513 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.1494, allocations: 3.938 kB / 0.6513 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.866e-05/0.1495, allocations: 0 / 0.6513 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1498, allocations: 43.83 kB / 0.6514 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.417e-05/0.1498, allocations: 12 kB / 0.6514 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.1499, allocations: 3.984 kB / 0.6514 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.1499, allocations: 11.98 kB / 0.6514 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.15, allocations: 7.938 kB / 0.6514 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.15, allocations: 4 kB / 0.6514 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.1501, allocations: 39.89 kB / 0.6515 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.1501, allocations: 0 / 0.6515 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.1501, allocations: 15.92 kB / 0.6515 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.428e-05/0.1502, allocations: 28.17 kB / 0.6515 GB, free: 2.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1503, allocations: 3.938 kB / 0.6515 GB, free: 2.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1503, allocations: 0 / 0.6515 GB, free: 2.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1503, allocations: 3.938 kB / 0.6515 GB, free: 2.633 MB / 494.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.000398/0.1507, allocations: 327.5 kB / 0.6518 GB, free: 2.262 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1507, allocations: 8.031 kB / 0.6518 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.1508, allocations: 42.75 kB / 0.6519 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.1508, allocations: 4.891 kB / 0.6519 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1509, allocations: 164.3 kB / 0.652 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.151, allocations: 384 / 0.652 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.151, allocations: 4.375 kB / 0.652 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1511, allocations: 46.23 kB / 0.6521 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1511, allocations: 3.938 kB / 0.6521 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.1511, allocations: 0 / 0.6521 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1511, allocations: 0 / 0.6521 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.1512, allocations: 19.94 kB / 0.6521 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.1514, allocations: 161.7 kB / 0.6523 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.1515, allocations: 42.62 kB / 0.6523 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.1515, allocations: 24.97 kB / 0.6523 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1517, allocations: 85.09 kB / 0.6524 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1517, allocations: 30.56 kB / 0.6524 GB, free: 1.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 3.026e-06/0.1517, allocations: 4 kB / 0.6524 GB, free: 1.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001299/0.153, allocations: 492.2 kB / 0.6529 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1531, allocations: 51.41 kB / 0.653 GB, free: 0.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.1531, allocations: 93.86 kB / 0.653 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1531, allocations: 25.7 kB / 0.6531 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.1532, allocations: 80.14 kB / 0.6531 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.1532, allocations: 31.73 kB / 0.6532 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.1533, allocations: 21.84 kB / 0.6532 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1534, allocations: 314.8 kB / 0.6535 GB, free: 292 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.1534, allocations: 11.98 kB / 0.6535 GB, free: 280 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.1535, allocations: 15.98 kB / 0.6535 GB, free: 264 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.44e-05/0.1536, allocations: 45 kB / 0.6536 GB, free: 216 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1536, allocations: 4 kB / 0.6536 GB, free: 212 kB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001116/0.1537, allocations: 69.62 kB / 0.6536 GB, free: 136 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1537, allocations: 7.938 kB / 0.6536 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1537, allocations: 3.938 kB / 0.6536 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1537, allocations: 4 kB / 0.6537 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.1538, allocations: 15.98 kB / 0.6537 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1538, allocations: 0 / 0.6537 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.1538, allocations: 4 kB / 0.6537 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1539, allocations: 0 / 0.6537 GB, free: 100 kB / 494.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 0.000101/0.154, allocations: 117.8 kB / 0.6538 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.154, allocations: 7.891 kB / 0.6538 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.1542, allocations: 85.64 kB / 0.6539 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1542, allocations: 0 / 0.6539 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1542, allocations: 0 / 0.6539 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1542, allocations: 0 / 0.6539 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.1543, allocations: 165.6 kB / 0.654 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1543, allocations: 192 / 0.654 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.127e-05/0.1544, allocations: 19.94 kB / 0.654 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1544, allocations: 0 / 0.654 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1545, allocations: 4 kB / 0.6541 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1545, allocations: 7.938 kB / 0.6541 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1545, allocations: 0 / 0.6541 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.1547, allocations: 109.1 kB / 0.6542 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.1547, allocations: 88.98 kB / 0.6542 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1547, allocations: 4.031 kB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.1548, allocations: 4 kB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.1548, allocations: 4 kB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1548, allocations: 3.984 kB / 0.6543 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.1549, allocations: 79.28 kB / 0.6543 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1549, allocations: 4.156 kB / 0.6543 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000213/0.1551, allocations: 31.94 kB / 0.6544 GB, free: 15.27 MB / 0.4981 GB 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.0005778/0.1557, allocations: 0.6748 MB / 0.655 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.1558, allocations: 47.91 kB / 0.6551 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1558, allocations: 0 / 0.6551 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.1559, allocations: 24.05 kB / 0.6551 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.156, allocations: 4 kB / 0.6551 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1571, allocations: 1.204 MB / 0.6563 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1574, allocations: 0.6823 MB / 0.6569 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.1575, allocations: 7.938 kB / 0.657 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.1575, allocations: 19.42 kB / 0.657 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1575, allocations: 0 / 0.657 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.1813, allocations: 1.809 MB / 0.6587 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.983, allocations: 6.047 kB / 0.6587 GB, free: 10.79 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)