Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",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.001516/0.001516, allocations: 105.4 kB / 15.7 MB, free: 24 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.001247/0.001247, allocations: 197.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 71.23 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2523, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002605/0.2549, allocations: 1.441 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003926/0.2553, allocations: 188.3 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.2554, allocations: 3.938 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.2554, allocations: 0 / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.2555, allocations: 11.94 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.2557, allocations: 39.89 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.2558, allocations: 19.92 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.2559, allocations: 8 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.2559, allocations: 11.92 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.256, allocations: 8 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.256, allocations: 3.984 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.093e-05/0.2561, allocations: 35.95 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.2561, allocations: 11.94 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.2561, allocations: 11.94 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2563, allocations: 35.94 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2563, allocations: 3.984 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2563, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2563, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004246/0.2567, allocations: 347.7 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2568, allocations: 8.031 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.2568, allocations: 38.69 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.2568, allocations: 0.9375 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2569, allocations: 168.3 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.257, allocations: 4.375 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.257, allocations: 4.312 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2571, allocations: 50.23 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2572, allocations: 3.938 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2572, allocations: 0 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2572, allocations: 3.938 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.2573, allocations: 35.95 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.2576, allocations: 248.9 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.2578, allocations: 46.47 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.2579, allocations: 20.91 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.602e-05/0.258, allocations: 77.11 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.258, allocations: 38.56 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.258, allocations: 0 / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003185/0.2583, allocations: 77.64 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2584, allocations: 55.41 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.2584, allocations: 105.8 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2585, allocations: 25.7 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.2585, allocations: 92.27 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2585, allocations: 7.844 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.2586, allocations: 13.7 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.2587, allocations: 318.8 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.2588, allocations: 11.98 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.2588, allocations: 15.98 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.259, allocations: 44.88 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.259, allocations: 3.938 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.2592, allocations: 65.58 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2592, allocations: 7.984 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2592, allocations: 0 / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2592, allocations: 4 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.2593, allocations: 11.97 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2593, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.2594, allocations: 7.984 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.2594, allocations: 3.938 kB / 0.7873 GB, free: 9.215 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 6.776e-05/0.2594, allocations: 117.8 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.2595, allocations: 256 / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.2597, allocations: 80.77 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2597, allocations: 3.984 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2597, allocations: 4 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2597, allocations: 0 / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2599, allocations: 157.6 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2599, allocations: 0 / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.2599, allocations: 11.98 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2599, allocations: 3.938 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.26, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.26, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.26, allocations: 4.031 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.2602, allocations: 163.5 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.2602, allocations: 88.95 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2603, allocations: 0 / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.2603, allocations: 7.984 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.2604, allocations: 32 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.2604, allocations: 4 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.2604, allocations: 87.27 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2604, allocations: 0 / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002226/0.2607, allocations: 12 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005158/0.2612, allocations: 0.7046 MB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.2614, allocations: 39.95 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2614, allocations: 0 / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.2615, allocations: 19.98 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2618, allocations: 2.656 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.2622, allocations: 143.2 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2624, allocations: 0.6768 MB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.2625, allocations: 3.984 kB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.2625, allocations: 19.42 kB / 0.7896 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2625, allocations: 0 / 0.7896 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.2797, allocations: 1.424 MB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/7.227, allocations: 21.91 kB / 0.791 GB, free: 5.324 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)