Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_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.005046/0.005046, allocations: 101.6 kB / 15.73 MB, free: 6.055 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.001417/0.001418, allocations: 189.1 kB / 16.67 MB, free: 5.984 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.31 kB / 0.9504 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2444, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001641/0.246, allocations: 0.5921 MB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004665/0.2465, allocations: 159.9 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.2466, allocations: 7.938 kB / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2466, allocations: 0 / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.788e-05/0.2467, allocations: 0 / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.247, allocations: 39.89 kB / 1.088 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.2471, allocations: 12 kB / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.2471, allocations: 0 / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.2472, allocations: 19.86 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.2472, allocations: 4 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2473, allocations: 0 / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.2474, allocations: 35.95 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.2474, allocations: 7.922 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.2474, allocations: 12 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.2475, allocations: 27.89 kB / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2475, allocations: 0 / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2475, allocations: 3.938 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2475, allocations: 0 / 1.088 GB, free: 1.047 MB / 0.8419 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.0003907/0.2479, allocations: 335.6 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.248, allocations: 8.031 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.248, allocations: 38.75 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.2481, allocations: 0.9375 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2482, allocations: 167.2 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2483, allocations: 4.375 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.2483, allocations: 4.359 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2484, allocations: 42.25 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2484, allocations: 7.875 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2485, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2485, allocations: 4 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.2485, allocations: 15.98 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.2488, allocations: 157.6 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.2489, allocations: 46.56 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.979e-05/0.2489, allocations: 24.97 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.2491, allocations: 81.11 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2491, allocations: 34.5 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.2491, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001385/0.2505, allocations: 496.9 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.2505, allocations: 55.41 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.2506, allocations: 93.8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2506, allocations: 25.7 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.2507, allocations: 80.14 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.2507, allocations: 23.94 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.2507, allocations: 21.7 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2509, allocations: 323 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.2509, allocations: 11.98 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.2509, allocations: 8 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/0.251, allocations: 49 kB / 1.09 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.251, allocations: 0 / 1.09 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001162/0.2512, allocations: 73.61 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2512, allocations: 5.562 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2512, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2512, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.2513, allocations: 12 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2513, allocations: 4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.2513, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2514, allocations: 3.984 kB / 1.091 GB, free: 14.52 MB / 0.8575 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.851e-05/0.2514, allocations: 117.8 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.2515, allocations: 7.844 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.2516, allocations: 81.64 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2517, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2517, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2517, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.2518, allocations: 161.7 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2518, allocations: 7.938 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-05/0.2519, allocations: 15.88 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2519, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2519, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2519, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.252, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.2522, allocations: 113.1 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.2522, allocations: 88.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2522, allocations: 3.984 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.2523, allocations: 4.062 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.2523, allocations: 11.98 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2523, allocations: 7.938 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.2524, allocations: 75.28 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2524, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002337/0.2526, allocations: 35.98 kB / 1.091 GB, free: 13.68 MB / 0.8575 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.0005791/0.2532, allocations: 0.6833 MB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.2533, allocations: 39.92 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2533, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.2534, allocations: 20 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.2535, allocations: 7.984 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.2547, allocations: 1.208 MB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.255, allocations: 0.6808 MB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.255, allocations: 11.69 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.2551, allocations: 15.44 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.2551, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.2735, allocations: 1.821 MB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.706, allocations: 5.562 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)