Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.0009892/0.0009893, allocations: 102.2 kB / 15.98 MB, free: 6.348 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.00109/0.00109, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7154/0.7154, allocations: 115.3 MB / 406.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 63.91 kB / 493.2 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4586, allocations: 76.16 MB / 0.556 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002177/0.4608, allocations: 0.652 MB / 0.5567 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.4621, allocations: 1.092 MB / 0.5577 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.4622, allocations: 0 / 0.5577 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.4622, allocations: 0 / 0.5577 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.4625, allocations: 26.94 kB / 0.5578 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.818e-06/0.4625, allocations: 3.5 kB / 0.5578 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.441e-05/0.4626, allocations: 0.6094 kB / 0.5578 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.4626, allocations: 8.516 kB / 0.5578 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.4626, allocations: 0 / 0.5578 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.398e-05/0.4627, allocations: 5.484 kB / 0.5578 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.4627, allocations: 0 / 0.5578 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.4628, allocations: 20.14 kB / 0.5578 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.4628, allocations: 7.109 kB / 0.5578 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.4628, allocations: 7.344 kB / 0.5578 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.953e-05/0.4629, allocations: 10.16 kB / 0.5578 GB, free: 34.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.463, allocations: 0 / 0.5578 GB, free: 34.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.463, allocations: 1.219 kB / 0.5578 GB, free: 34.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.463, allocations: 0 / 0.5578 GB, free: 34.39 MB / 446.1 MB 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.0002594/0.4632, allocations: 320.9 kB / 0.5581 GB, free: 34.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4633, allocations: 9.219 kB / 0.5581 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.4633, allocations: 33.3 kB / 0.5582 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.4634, allocations: 2.062 kB / 0.5582 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.133e-05/0.4635, allocations: 163.2 kB / 0.5583 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.4635, allocations: 1.531 kB / 0.5583 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4635, allocations: 2.031 kB / 0.5583 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.4636, allocations: 44.58 kB / 0.5584 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4636, allocations: 1.609 kB / 0.5584 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4637, allocations: 1.234 kB / 0.5584 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4637, allocations: 5.219 kB / 0.5584 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.099e-05/0.4637, allocations: 6.516 kB / 0.5584 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.4639, allocations: 150.9 kB / 0.5585 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.4641, allocations: 34.36 kB / 0.5586 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.4641, allocations: 17.25 kB / 0.5586 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.4642, allocations: 81.59 kB / 0.5587 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.4643, allocations: 37.47 kB / 0.5587 GB, free: 33.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4643, allocations: 0 / 0.5587 GB, free: 33.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004354/0.4686, allocations: 0.5706 MB / 0.5593 GB, free: 33.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4687, allocations: 54.56 kB / 0.5593 GB, free: 33.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.335e-05/0.4687, allocations: 89.86 kB / 0.5594 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4687, allocations: 32.5 kB / 0.5594 GB, free: 33.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.452e-05/0.4687, allocations: 80.14 kB / 0.5595 GB, free: 33.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.4688, allocations: 18.42 kB / 0.5595 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.4689, allocations: 22.48 kB / 0.5595 GB, free: 33.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.4689, allocations: 312.9 kB / 0.5598 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.4695, allocations: 87.48 kB / 0.5599 GB, free: 32.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.4701, allocations: 99.55 kB / 0.56 GB, free: 32.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.4712, allocations: 196.5 kB / 0.5602 GB, free: 32.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4712, allocations: 1.438 kB / 0.5602 GB, free: 32.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001132/0.4723, allocations: 216.1 kB / 0.5604 GB, free: 32.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.4723, allocations: 4.844 kB / 0.5604 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4724, allocations: 1.188 kB / 0.5604 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4724, allocations: 1.344 kB / 0.5604 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.4728, allocations: 52.34 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4728, allocations: 1.531 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.4731, allocations: 41.75 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.4731, allocations: 3.562 kB / 0.5605 GB, free: 32.61 MB / 446.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 (5): * Single equations (assignments): 5 * 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.084e-05/0.4732, allocations: 111.3 kB / 0.5606 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.4732, allocations: 5.375 kB / 0.5606 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.4745, allocations: 244 kB / 0.5609 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4745, allocations: 1.219 kB / 0.5609 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4745, allocations: 0 / 0.5609 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4746, allocations: 0 / 0.5609 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.4759, allocations: 462.9 kB / 0.5613 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.4759, allocations: 0 / 0.5613 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.4763, allocations: 49.06 kB / 0.5613 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.4763, allocations: 0 / 0.5613 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4763, allocations: 2.219 kB / 0.5613 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4764, allocations: 1.219 kB / 0.5613 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4764, allocations: 0 / 0.5613 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.4775, allocations: 306.2 kB / 0.5616 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.4776, allocations: 83.02 kB / 0.5617 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.4776, allocations: 9.281 kB / 0.5617 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.478, allocations: 35.78 kB / 0.5618 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.478, allocations: 9.766 kB / 0.5618 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.478, allocations: 1.125 kB / 0.5618 GB, free: 31.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.977e-05/0.478, allocations: 76.66 kB / 0.5618 GB, free: 31.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.478, allocations: 0 / 0.5618 GB, free: 31.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.4783, allocations: 9.438 kB / 0.5619 GB, free: 31.74 MB / 446.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 (5): * Single equations (assignments): 5 * 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.001529/0.4798, allocations: 0.8463 MB / 0.5627 GB, free: 31.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.4811, allocations: 175.4 kB / 0.5628 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4811, allocations: 0 / 0.5628 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.4817, allocations: 103.3 kB / 0.5629 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.4819, allocations: 2.828 kB / 0.5629 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.4832, allocations: 251.9 kB / 0.5632 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4833, allocations: 0.6785 MB / 0.5639 GB, free: 30.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.4836, allocations: 25.39 kB / 0.5639 GB, free: 30.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.4836, allocations: 11.72 kB / 0.5639 GB, free: 30.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4837, allocations: 0 / 0.5639 GB, free: 30.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.4961, allocations: 1.529 MB / 0.5654 GB, free: 29.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.4963, allocations: 223.7 kB / 0.5656 GB, free: 29.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.133, allocations: 0 / 0.5656 GB, free: 29.65 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)