Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001247/0.001247, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002407/0.002407, allocations: 287 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002622, allocations: 103.7 kB / 0.6066 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.151, allocations: 89.15 MB / 0.6936 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001698/0.1527, allocations: 0.5988 MB / 0.6942 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.1531, allocations: 163.4 kB / 0.6943 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.1531, allocations: 0.9688 kB / 0.6944 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.1531, allocations: 3.938 kB / 0.6944 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.453e-05/0.1532, allocations: 4 kB / 0.6944 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1534, allocations: 36.47 kB / 0.6944 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.55e-05/0.1535, allocations: 21.09 kB / 0.6944 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.1535, allocations: 0 / 0.6944 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.1536, allocations: 7.938 kB / 0.6944 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.1536, allocations: 12.92 kB / 0.6944 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1536, allocations: 0 / 0.6944 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.1537, allocations: 36.53 kB / 0.6945 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1537, allocations: 3.984 kB / 0.6945 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.1538, allocations: 15.38 kB / 0.6945 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.107e-05/0.1539, allocations: 31.88 kB / 0.6945 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1539, allocations: 0 / 0.6945 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1539, allocations: 0 / 0.6945 GB, free: 3.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1539, allocations: 4 kB / 0.6945 GB, free: 3.262 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.0003705/0.1543, allocations: 327.6 kB / 0.6948 GB, free: 2.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1543, allocations: 12.03 kB / 0.6948 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.1544, allocations: 30.75 kB / 0.6949 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.1544, allocations: 5.562 kB / 0.6949 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1545, allocations: 165.3 kB / 0.695 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1545, allocations: 12.31 kB / 0.695 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1546, allocations: 8.359 kB / 0.6951 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1547, allocations: 42.25 kB / 0.6951 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1547, allocations: 3.938 kB / 0.6951 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1547, allocations: 0 / 0.6951 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1547, allocations: 4 kB / 0.6951 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.1548, allocations: 19.92 kB / 0.6951 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.1549, allocations: 149.7 kB / 0.6953 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.758e-05/0.155, allocations: 46.62 kB / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.1551, allocations: 20.97 kB / 0.6953 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.1552, allocations: 85.09 kB / 0.6954 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1552, allocations: 34.56 kB / 0.6954 GB, free: 2.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.785e-06/0.1552, allocations: 0 / 0.6954 GB, free: 2.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001216/0.1564, allocations: 491.9 kB / 0.6959 GB, free: 1.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1565, allocations: 55.41 kB / 0.696 GB, free: 1.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.1565, allocations: 97.86 kB / 0.6961 GB, free: 1.398 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1566, allocations: 25.7 kB / 0.6961 GB, free: 1.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.1566, allocations: 80.14 kB / 0.6962 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.1566, allocations: 27.64 kB / 0.6962 GB, free: 1.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1567, allocations: 25.66 kB / 0.6962 GB, free: 1.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1568, allocations: 314.8 kB / 0.6965 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.1569, allocations: 12 kB / 0.6965 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.1569, allocations: 12.12 kB / 0.6965 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.888e-05/0.157, allocations: 49 kB / 0.6966 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.157, allocations: 0 / 0.6966 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00011/0.1571, allocations: 69.53 kB / 0.6966 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1571, allocations: 8 kB / 0.6967 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1571, allocations: 0 / 0.6967 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1571, allocations: 0 / 0.6967 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.1572, allocations: 15.98 kB / 0.6967 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1572, allocations: 0 / 0.6967 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.1572, allocations: 4.438 kB / 0.6967 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1573, allocations: 8 kB / 0.6967 GB, free: 0.7266 MB / 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 7.303e-05/0.1573, allocations: 113.8 kB / 0.6968 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1574, allocations: 7.938 kB / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.1575, allocations: 77.62 kB / 0.6969 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1575, allocations: 0 / 0.6969 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.1575, allocations: 8 kB / 0.6969 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1576, allocations: 0 / 0.6969 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1577, allocations: 165.7 kB / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1577, allocations: 4 kB / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.1578, allocations: 15.94 kB / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1578, allocations: 0 / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1578, allocations: 0 / 0.6971 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1578, allocations: 7.922 kB / 0.6971 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1578, allocations: 3.938 kB / 0.6971 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.158, allocations: 121 kB / 0.6972 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.158, allocations: 81.05 kB / 0.6973 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1581, allocations: 4.062 kB / 0.6973 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.1581, allocations: 4 kB / 0.6973 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.1581, allocations: 4 kB / 0.6973 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1581, allocations: 7.984 kB / 0.6973 GB, free: 12 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.1582, allocations: 75.28 kB / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1582, allocations: 0 / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00021/0.1584, allocations: 28 kB / 0.6974 GB, free: 15.91 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.0005352/0.159, allocations: 0.6943 MB / 0.6981 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.1591, allocations: 40.23 kB / 0.6981 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1591, allocations: 4 kB / 0.6981 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.1591, allocations: 19.98 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1593, allocations: 4 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1603, allocations: 1.186 MB / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1606, allocations: 0.6863 MB / 0.7 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1607, allocations: 4 kB / 0.7 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.1607, allocations: 15.44 kB / 0.7 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1607, allocations: 0 / 0.7 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.1846, allocations: 1.811 MB / 0.7017 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.543, allocations: 23.25 kB / 0.7018 GB, free: 11.46 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)