Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009336/0.0009338, allocations: 173.9 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000908/0.0009077, allocations: 92.92 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 11.75 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2537, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001689/0.2554, allocations: 1.184 MB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.2562, allocations: 0.5096 MB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.2562, allocations: 0 / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.2563, allocations: 0 / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.2563, allocations: 7.984 kB / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.2565, allocations: 19.92 kB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.2566, allocations: 23.94 kB / 0.8979 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.2567, allocations: 7.984 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.2568, allocations: 8 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.2568, allocations: 11.92 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2568, allocations: 4 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.2569, allocations: 23.97 kB / 0.898 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.2569, allocations: 0 / 0.898 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.257, allocations: 11.92 kB / 0.898 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.033e-05/0.2571, allocations: 23.91 kB / 0.898 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2571, allocations: 7.938 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2571, allocations: 0 / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2571, allocations: 0 / 0.898 GB, free: 66.25 MB / 0.6042 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.0003721/0.2575, allocations: 339.6 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2575, allocations: 12.03 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.2576, allocations: 34.73 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.2576, allocations: 4.844 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.47e-05/0.2577, allocations: 176.3 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2577, allocations: 4.312 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-06/0.2577, allocations: 384 / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2579, allocations: 61.8 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2579, allocations: 0 / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2579, allocations: 0 / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2579, allocations: 7.938 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.2581, allocations: 47.91 kB / 0.8987 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.2583, allocations: 252.9 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.2585, allocations: 38.56 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.2586, allocations: 36.89 kB / 0.899 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/0.2587, allocations: 81.11 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.2587, allocations: 30.56 kB / 0.8991 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.2587, allocations: 0 / 0.8991 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003277/0.259, allocations: 105.6 kB / 0.8992 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.2591, allocations: 51.41 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.2591, allocations: 101.8 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2591, allocations: 25.7 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.2592, allocations: 92.17 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.2592, allocations: 4 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.2592, allocations: 9.719 kB / 0.8994 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.2593, allocations: 314.8 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.2594, allocations: 27.97 kB / 0.8998 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.2594, allocations: 23.98 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2596, allocations: 48.77 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2596, allocations: 0 / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001657/0.2598, allocations: 85.62 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2598, allocations: 4 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2598, allocations: 0 / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2598, allocations: 4 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.2599, allocations: 11.98 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2599, allocations: 4.031 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.2599, allocations: 7.984 kB / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.26, allocations: 4 kB / 0.9 GB, free: 63.99 MB / 0.6042 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 5.431e-05/0.26, allocations: 109.8 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.26, allocations: 0 / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.2602, allocations: 88.72 kB / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2603, allocations: 4 kB / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2603, allocations: 0 / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2603, allocations: 256 / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.2604, allocations: 161.6 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2604, allocations: 7.938 kB / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.2605, allocations: 16.02 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2605, allocations: 3.938 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.2605, allocations: 4 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2605, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2605, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.2607, allocations: 179.4 kB / 0.9005 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.2607, allocations: 81.02 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.2607, allocations: 4 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.2608, allocations: 7.984 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2608, allocations: 0 / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2609, allocations: 7.984 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.528e-05/0.2609, allocations: 87.31 kB / 0.9007 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2609, allocations: 0 / 0.9007 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001971/0.2611, allocations: 4 kB / 0.9007 GB, free: 63.14 MB / 0.6042 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.0003999/0.2615, allocations: 0.7085 MB / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.2617, allocations: 47.91 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2617, allocations: 4.094 kB / 0.9014 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.2618, allocations: 27.97 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.262, allocations: 4 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.2624, allocations: 136.9 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2625, allocations: 0.681 MB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.2625, allocations: 3.984 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.2626, allocations: 19.38 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2626, allocations: 0 / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01007/0.2727, allocations: 1.174 MB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.2728, allocations: 204.4 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.911, allocations: 3.938 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)