Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108 kB / 15.61 MB, free: 152 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.001121/0.001121, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.5 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002744/0.3224, allocations: 1.433 MB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.3232, allocations: 478.8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.3233, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.3233, allocations: 3.938 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.3234, allocations: 3.984 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.3236, allocations: 19.92 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.3237, allocations: 27.92 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3238, allocations: 7.984 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.3239, allocations: 19.92 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.3239, allocations: 11.94 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3239, allocations: 4 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.324, allocations: 27.89 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.324, allocations: 4 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.3241, allocations: 15.88 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.3242, allocations: 23.95 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3242, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3242, allocations: 3.938 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3242, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 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.0004271/0.3246, allocations: 347.7 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3247, allocations: 8.031 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.3247, allocations: 4.938 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3248, allocations: 168.3 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.3248, allocations: 384 / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3249, allocations: 12.38 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.325, allocations: 57.92 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3251, allocations: 0 / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3251, allocations: 4 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3251, allocations: 0 / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.3253, allocations: 35.95 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.3256, allocations: 244.9 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3258, allocations: 38.55 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/0.3259, allocations: 28.91 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.326, allocations: 81.05 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.326, allocations: 38.55 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.326, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003656/0.3264, allocations: 81.75 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3264, allocations: 55.39 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.315e-05/0.3265, allocations: 97.86 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3266, allocations: 25.7 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.3266, allocations: 84.14 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.3266, allocations: 7.891 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.3267, allocations: 17.72 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3268, allocations: 310.8 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.3269, allocations: 20.02 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.3269, allocations: 19.92 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3271, allocations: 40.75 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3271, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001867/0.3273, allocations: 73.72 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3273, allocations: 4 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3273, allocations: 4 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3273, allocations: 3.938 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.3274, allocations: 4 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3275, allocations: 3.984 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.3275, allocations: 7.938 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.3275, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 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 8.166e-05/0.3276, allocations: 125.7 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3276, allocations: 3.906 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.3279, allocations: 76.77 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3279, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3279, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3279, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.3281, allocations: 157.6 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3281, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.3281, allocations: 16.02 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3281, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3282, allocations: 256 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3282, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3282, allocations: 4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3284, allocations: 171.4 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.3285, allocations: 85.12 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3285, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.3286, allocations: 7.984 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.3286, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3286, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.3287, allocations: 87.27 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3287, allocations: 0 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002202/0.3289, allocations: 12 kB / 1.073 GB, free: 5.395 MB / 0.8262 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.0001482/0.329, allocations: 103.8 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.3293, allocations: 39.89 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3293, allocations: 0 / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.3294, allocations: 19.98 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3297, allocations: 7.938 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.3299, allocations: 117.1 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3303, allocations: 0.6768 MB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.3303, allocations: 3.938 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.3303, allocations: 7.438 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3303, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of Templates: time 0.002555/0.3329, allocations: 0.5614 MB / 1.074 GB, free: 3.809 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)