Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.001592/0.001592, allocations: 95.33 kB / 15.68 MB, free: 488 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.001414/0.001414, allocations: 175.8 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.754/2.754, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.169/1.169, allocations: 113.7 MB / 405.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006072/0.0006072, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2705, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002379/0.273, allocations: 1.428 MB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2742, allocations: 0.5857 MB / 0.5587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.2743, allocations: 4 kB / 0.5587 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.2743, allocations: 7.922 kB / 0.5587 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.2744, allocations: 19.91 kB / 0.5587 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.275, allocations: 150.9 kB / 0.5589 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2751, allocations: 71.89 kB / 0.5589 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.2753, allocations: 33.22 kB / 0.559 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.2754, allocations: 39.91 kB / 0.559 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.67e-05/0.2755, allocations: 43.78 kB / 0.559 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.2755, allocations: 7.938 kB / 0.559 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2757, allocations: 35.97 kB / 0.5591 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.2757, allocations: 23.89 kB / 0.5591 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.2758, allocations: 41.64 kB / 0.5591 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.2759, allocations: 96.03 kB / 0.5592 GB, free: 9.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2759, allocations: 0 / 0.5592 GB, free: 9.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.276, allocations: 0 / 0.5592 GB, free: 9.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.276, allocations: 0 / 0.5592 GB, free: 9.098 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006654/0.2766, allocations: 415 kB / 0.5596 GB, free: 8.645 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.2767, allocations: 12.03 kB / 0.5596 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.017e-05/0.2768, allocations: 42.55 kB / 0.5597 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/0.2777, allocations: 147.6 kB / 0.5598 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.2779, allocations: 178.9 kB / 0.56 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.278, allocations: 67.34 kB / 0.5601 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.278, allocations: 8 kB / 0.5601 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.2787, allocations: 191.5 kB / 0.5602 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2787, allocations: 0 / 0.5602 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.2787, allocations: 8 kB / 0.5603 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2787, allocations: 3.984 kB / 0.5603 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.2796, allocations: 195.8 kB / 0.5604 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2815, allocations: 0.5095 MB / 0.5609 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.2831, allocations: 266.3 kB / 0.5612 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.2832, allocations: 0 / 0.5612 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.2833, allocations: 38.64 kB / 0.5612 GB, free: 6.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 2.334e-06/0.2833, allocations: 4 kB / 0.5612 GB, free: 6.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001724/0.285, allocations: 317.5 kB / 0.5615 GB, free: 6.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.2851, allocations: 51.41 kB / 0.5616 GB, free: 6.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.2853, allocations: 135.7 kB / 0.5617 GB, free: 6.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.2854, allocations: 25.7 kB / 0.5617 GB, free: 6.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2855, allocations: 116.2 kB / 0.5619 GB, free: 6.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.2856, allocations: 15.66 kB / 0.5619 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.2856, allocations: 8 kB / 0.5619 GB, free: 6.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2858, allocations: 322.8 kB / 0.5622 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.2863, allocations: 87.92 kB / 0.5623 GB, free: 5.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.2868, allocations: 110.5 kB / 0.5624 GB, free: 5.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.2872, allocations: 91.92 kB / 0.5625 GB, free: 5.547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2872, allocations: 0 / 0.5625 GB, free: 5.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001088/0.2883, allocations: 237.3 kB / 0.5627 GB, free: 5.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.2884, allocations: 8 kB / 0.5627 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2884, allocations: 4.062 kB / 0.5627 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2884, allocations: 0 / 0.5627 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.2888, allocations: 51.89 kB / 0.5628 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2889, allocations: 0 / 0.5628 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2892, allocations: 40.17 kB / 0.5628 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.2892, allocations: 4 kB / 0.5628 GB, free: 5.203 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.2895, allocations: 117.8 kB / 0.5629 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.2896, allocations: 11.86 kB / 0.5629 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2907, allocations: 242.2 kB / 0.5631 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2908, allocations: 0 / 0.5631 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2908, allocations: 0 / 0.5631 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.2908, allocations: 7.984 kB / 0.5632 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.2913, allocations: 242.1 kB / 0.5634 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2913, allocations: 3.938 kB / 0.5634 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.2916, allocations: 43.89 kB / 0.5634 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.2917, allocations: 7.953 kB / 0.5634 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2917, allocations: 3.984 kB / 0.5634 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2917, allocations: 0 / 0.5634 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2917, allocations: 0 / 0.5634 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2929, allocations: 323.3 kB / 0.5638 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.293, allocations: 84.95 kB / 0.5638 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.2931, allocations: 7.953 kB / 0.5638 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.2936, allocations: 43.95 kB / 0.5639 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.2937, allocations: 7.984 kB / 0.5639 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.2937, allocations: 4 kB / 0.5639 GB, free: 3.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.2938, allocations: 109 kB / 0.564 GB, free: 3.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2939, allocations: 0 / 0.564 GB, free: 3.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005268/0.2944, allocations: 23.91 kB / 0.564 GB, free: 3.848 MB / 430.1 MB 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002061/0.2965, allocations: 0.8535 MB / 0.5649 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.2979, allocations: 199.8 kB / 0.565 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.2979, allocations: 0 / 0.565 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006553/0.2986, allocations: 104.3 kB / 0.5651 GB, free: 2.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.2991, allocations: 4 kB / 0.5651 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.301, allocations: 0.8073 MB / 0.5659 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.3015, allocations: 0.7082 MB / 0.5666 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.3017, allocations: 16.17 kB / 0.5666 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3019, allocations: 27.42 kB / 0.5667 GB, free: 1.023 MB / 430.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3019, allocations: 0 / 0.5667 GB, free: 1.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.3407, allocations: 2.39 MB / 0.569 GB, free: 14.77 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/0.3411, allocations: 175.2 kB / 0.5692 GB, free: 14.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/3.349, allocations: 0 / 0.5692 GB, free: 14.53 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: