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.006027/0.006027, allocations: 101 kB / 15.73 MB, free: 6.062 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.001388/0.001388, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002548, allocations: 279 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 103.8 kB / 0.681 GB, free: 7.414 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.465, allocations: 86.97 MB / 0.766 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002129/0.4672, allocations: 0.5977 MB / 0.7665 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004665/0.4677, allocations: 159.5 kB / 0.7667 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.4677, allocations: 0 / 0.7667 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.4678, allocations: 3.938 kB / 0.7667 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.887e-05/0.4678, allocations: 0 / 0.7667 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.4682, allocations: 43.89 kB / 0.7667 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.4682, allocations: 7.984 kB / 0.7667 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.4683, allocations: 4 kB / 0.7667 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.4683, allocations: 11.98 kB / 0.7668 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.4684, allocations: 7.922 kB / 0.7668 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.4684, allocations: 4 kB / 0.7668 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-05/0.4685, allocations: 35.97 kB / 0.7668 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.4685, allocations: 4 kB / 0.7668 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.4685, allocations: 15.91 kB / 0.7668 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.4686, allocations: 23.77 kB / 0.7668 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4687, allocations: 0 / 0.7668 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.537e-06/0.4687, allocations: 4 kB / 0.7668 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4687, allocations: 7.875 kB / 0.7669 GB, free: 2.914 MB / 0.5294 GB 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.0004546/0.4691, allocations: 328.8 kB / 0.7672 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4692, allocations: 8.031 kB / 0.7672 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.4692, allocations: 34.75 kB / 0.7672 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.4693, allocations: 16.88 kB / 0.7672 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4694, allocations: 168.3 kB / 0.7674 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.4695, allocations: 384 / 0.7674 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.4695, allocations: 8.375 kB / 0.7674 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.4697, allocations: 42.25 kB / 0.7674 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4697, allocations: 3.938 kB / 0.7674 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4697, allocations: 4 kB / 0.7674 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4697, allocations: 0 / 0.7674 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.4698, allocations: 15.92 kB / 0.7675 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.47, allocations: 165.7 kB / 0.7676 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4701, allocations: 42.56 kB / 0.7677 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.4702, allocations: 20.98 kB / 0.7677 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.4703, allocations: 85.09 kB / 0.7678 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4703, allocations: 30.56 kB / 0.7678 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.4703, allocations: 0 / 0.7678 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001416/0.4718, allocations: 492.4 kB / 0.7683 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4718, allocations: 51.41 kB / 0.7683 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.4719, allocations: 105.8 kB / 0.7684 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.4719, allocations: 25.7 kB / 0.7684 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.472, allocations: 80.14 kB / 0.7685 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.472, allocations: 23.81 kB / 0.7685 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.4721, allocations: 21.7 kB / 0.7686 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4722, allocations: 314.8 kB / 0.7689 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.4723, allocations: 12 kB / 0.7689 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.4723, allocations: 15.97 kB / 0.7689 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.4724, allocations: 36.98 kB / 0.7689 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4724, allocations: 4 kB / 0.7689 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001281/0.4725, allocations: 73.56 kB / 0.769 GB, free: 424 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4726, allocations: 4 kB / 0.769 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4726, allocations: 0 / 0.769 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4726, allocations: 7.984 kB / 0.769 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.4727, allocations: 8 kB / 0.769 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4727, allocations: 0 / 0.769 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.4727, allocations: 4 kB / 0.769 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4727, allocations: 0 / 0.769 GB, free: 400 kB / 0.5294 GB 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.267e-05/0.4728, allocations: 124.2 kB / 0.7691 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.4728, allocations: 7.891 kB / 0.7691 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.473, allocations: 93.5 kB / 0.7692 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.473, allocations: 0 / 0.7692 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.473, allocations: 0 / 0.7692 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4731, allocations: 3.984 kB / 0.7692 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.4732, allocations: 165.6 kB / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4732, allocations: 0 / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.4733, allocations: 23.92 kB / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4733, allocations: 0 / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4733, allocations: 8 kB / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4733, allocations: 0 / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4734, allocations: 0 / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.4735, allocations: 109 kB / 0.7695 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.4736, allocations: 85 kB / 0.7696 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4736, allocations: 8.031 kB / 0.7696 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.4737, allocations: 4.062 kB / 0.7696 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.4737, allocations: 7.984 kB / 0.7696 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.4737, allocations: 0 / 0.7696 GB, free: 15.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.994e-05/0.4738, allocations: 79.28 kB / 0.7697 GB, free: 15.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4738, allocations: 0 / 0.7697 GB, free: 15.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000223/0.474, allocations: 31.94 kB / 0.7697 GB, free: 15.55 MB / 0.545 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.0006504/0.4746, allocations: 0.6871 MB / 0.7704 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.4748, allocations: 39.97 kB / 0.7704 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4748, allocations: 0 / 0.7704 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.4748, allocations: 27.92 kB / 0.7705 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.475, allocations: 4.812 kB / 0.7705 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4762, allocations: 1.184 MB / 0.7716 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4766, allocations: 0.6845 MB / 0.7723 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.4766, allocations: 15.8 kB / 0.7723 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.4767, allocations: 15.44 kB / 0.7723 GB, free: 12.76 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4767, allocations: 3.938 kB / 0.7723 GB, free: 12.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.5005, allocations: 1.839 MB / 0.7741 GB, free: 11.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.403, allocations: 3.078 kB / 0.7741 GB, free: 11.11 MB / 0.545 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)