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.00525/0.00525, allocations: 97.92 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.001293/0.001293, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002522, allocations: 292.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.214/1.214, allocations: 178.5 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 99.84 kB / 0.6944 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4227, allocations: 89.12 MB / 0.7814 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001615/0.4243, allocations: 0.6147 MB / 0.782 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.4248, allocations: 162.4 kB / 0.7821 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.4248, allocations: 0 / 0.7821 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.4248, allocations: 0 / 0.7821 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.55e-05/0.4248, allocations: 0 / 0.7821 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.4251, allocations: 43.95 kB / 0.7822 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.48e-05/0.4252, allocations: 18.08 kB / 0.7822 GB, free: 492 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.4252, allocations: 2.906 kB / 0.7822 GB, free: 492 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.787e-05/0.4253, allocations: 10.73 kB / 0.7822 GB, free: 484 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.4253, allocations: 10.3 kB / 0.7822 GB, free: 476 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.4253, allocations: 1.125 kB / 0.7822 GB, free: 476 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.4254, allocations: 32.34 kB / 0.7823 GB, free: 460 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.4254, allocations: 0 / 0.7823 GB, free: 460 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.4255, allocations: 14.48 kB / 0.7823 GB, free: 448 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.678e-05/0.4255, allocations: 29.38 kB / 0.7823 GB, free: 432 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4256, allocations: 0 / 0.7823 GB, free: 432 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4256, allocations: 4 kB / 0.7823 GB, free: 428 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4256, allocations: 1.469 kB / 0.7823 GB, free: 428 kB / 0.545 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.0002889/0.4259, allocations: 331.9 kB / 0.7826 GB, free: 56 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4259, allocations: 8.562 kB / 0.7826 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.178e-05/0.4259, allocations: 37.06 kB / 0.7827 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.426, allocations: 10.16 kB / 0.7827 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.4261, allocations: 164.4 kB / 0.7828 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4261, allocations: 2.781 kB / 0.7828 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.4262, allocations: 1.469 kB / 0.7828 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.4263, allocations: 50 kB / 0.7829 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4263, allocations: 3.938 kB / 0.7829 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.4263, allocations: 1.312 kB / 0.7829 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4263, allocations: 0 / 0.7829 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.4264, allocations: 24.28 kB / 0.7829 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.4266, allocations: 159.5 kB / 0.7831 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.4267, allocations: 44.19 kB / 0.7831 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.4267, allocations: 20.92 kB / 0.7831 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.4268, allocations: 91.28 kB / 0.7832 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.4268, allocations: 35.7 kB / 0.7832 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4268, allocations: 1.531 kB / 0.7832 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001208/0.4281, allocations: 483.5 kB / 0.7837 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.4281, allocations: 52.5 kB / 0.7838 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.4282, allocations: 100.3 kB / 0.7838 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4282, allocations: 25.7 kB / 0.7839 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.4282, allocations: 85.42 kB / 0.784 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.4283, allocations: 26.58 kB / 0.784 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.4283, allocations: 19.25 kB / 0.784 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4285, allocations: 320.3 kB / 0.7843 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.4285, allocations: 6.656 kB / 0.7843 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.4285, allocations: 20.14 kB / 0.7843 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/0.4286, allocations: 41.81 kB / 0.7844 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4286, allocations: 0 / 0.7844 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001093/0.4287, allocations: 71.09 kB / 0.7844 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4288, allocations: 5.75 kB / 0.7844 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4288, allocations: 0 / 0.7844 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4288, allocations: 1.312 kB / 0.7844 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.756e-05/0.4289, allocations: 14.45 kB / 0.7845 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4289, allocations: 1.312 kB / 0.7845 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.4289, allocations: 7.875 kB / 0.7845 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.4289, allocations: 2.75 kB / 0.7845 GB, free: 14.15 MB / 0.5606 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 7.681e-05/0.429, allocations: 115.3 kB / 0.7846 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.429, allocations: 10.33 kB / 0.7846 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.4292, allocations: 83.34 kB / 0.7847 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4292, allocations: 1.281 kB / 0.7847 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4292, allocations: 1.125 kB / 0.7847 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4292, allocations: 3.984 kB / 0.7847 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.4294, allocations: 162.4 kB / 0.7848 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4294, allocations: 0 / 0.7848 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.4295, allocations: 22.28 kB / 0.7848 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4295, allocations: 1.188 kB / 0.7849 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4295, allocations: 9.047 kB / 0.7849 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4295, allocations: 0 / 0.7849 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4295, allocations: 1.125 kB / 0.7849 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.4297, allocations: 106.9 kB / 0.785 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.4297, allocations: 86.41 kB / 0.785 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4298, allocations: 0 / 0.785 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.4298, allocations: 14.22 kB / 0.7851 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.4298, allocations: 7.234 kB / 0.7851 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4299, allocations: 4.938 kB / 0.7851 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.4299, allocations: 76.25 kB / 0.7851 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4299, allocations: 1.125 kB / 0.7851 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002155/0.4301, allocations: 31.44 kB / 0.7852 GB, free: 13.45 MB / 0.5606 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.0005534/0.4307, allocations: 0.6789 MB / 0.7858 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.4308, allocations: 44.5 kB / 0.7859 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4308, allocations: 1.812 kB / 0.7859 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.4309, allocations: 22.2 kB / 0.7859 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.431, allocations: 6.609 kB / 0.7859 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.4321, allocations: 1.189 MB / 0.7871 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4324, allocations: 0.6846 MB / 0.7877 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.4324, allocations: 15.88 kB / 0.7878 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.4325, allocations: 16.11 kB / 0.7878 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.4325, allocations: 0 / 0.7878 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.4547, allocations: 1.836 MB / 0.7896 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.165, allocations: 14.17 kB / 0.7896 GB, free: 9.938 MB / 0.5606 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)