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.001031/0.001031, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.0009909/0.000991, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7557/0.7557, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 67.89 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4118, allocations: 77.91 MB / 0.5673 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001861/0.4137, allocations: 0.5911 MB / 0.5679 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.415, allocations: 1.1 MB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.4151, allocations: 0 / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.4151, allocations: 4.562 kB / 0.569 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.4154, allocations: 17.59 kB / 0.569 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.658e-06/0.4154, allocations: 1.281 kB / 0.569 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.993e-05/0.4155, allocations: 6.891 kB / 0.569 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.4155, allocations: 3.094 kB / 0.569 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.4155, allocations: 1.188 kB / 0.569 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.4156, allocations: 5.688 kB / 0.569 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.4156, allocations: 0.5625 kB / 0.569 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.4157, allocations: 25.53 kB / 0.569 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-06/0.4157, allocations: 1.469 kB / 0.569 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.4157, allocations: 1.25 kB / 0.569 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.938e-05/0.4158, allocations: 22 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4158, allocations: 0 / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4158, allocations: 0.75 kB / 0.569 GB, free: 31.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4158, allocations: 0 / 0.569 GB, free: 31.64 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.0002318/0.4161, allocations: 312.6 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4161, allocations: 10.19 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.4162, allocations: 33.22 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.4162, allocations: 6.156 kB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.228e-05/0.4163, allocations: 167.5 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.4163, allocations: 1.406 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4163, allocations: 5.562 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.4164, allocations: 36.17 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4164, allocations: 1.125 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.4164, allocations: 5 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4164, allocations: 1.859 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.4165, allocations: 5.641 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.4166, allocations: 155.9 kB / 0.5697 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.4168, allocations: 34.53 kB / 0.5698 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.4168, allocations: 13.02 kB / 0.5698 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.4169, allocations: 83.56 kB / 0.5699 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.417, allocations: 36.72 kB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.417, allocations: 0.9688 kB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004673/0.4217, allocations: 0.5663 MB / 0.5705 GB, free: 30.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.4217, allocations: 56.72 kB / 0.5705 GB, free: 30.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.014e-05/0.4218, allocations: 91.39 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.4218, allocations: 27.02 kB / 0.5706 GB, free: 30.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.654e-05/0.4218, allocations: 81.3 kB / 0.5707 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.4219, allocations: 18.91 kB / 0.5707 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.4219, allocations: 20.08 kB / 0.5707 GB, free: 30.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.422, allocations: 313.7 kB / 0.571 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.4226, allocations: 82.73 kB / 0.5711 GB, free: 29.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.4233, allocations: 107.8 kB / 0.5712 GB, free: 29.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.4245, allocations: 189.7 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4245, allocations: 0.7031 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001299/0.4258, allocations: 220 kB / 0.5716 GB, free: 29.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4259, allocations: 7.578 kB / 0.5716 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4259, allocations: 1 kB / 0.5716 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.4259, allocations: 1.125 kB / 0.5716 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.4264, allocations: 55.97 kB / 0.5717 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4264, allocations: 1.156 kB / 0.5717 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.4268, allocations: 39.08 kB / 0.5717 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.4268, allocations: 6.766 kB / 0.5717 GB, free: 29.85 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 8.818e-05/0.4269, allocations: 116.2 kB / 0.5718 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.4269, allocations: 5.922 kB / 0.5718 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.4284, allocations: 231 kB / 0.5721 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4284, allocations: 0.9062 kB / 0.5721 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4284, allocations: 4 kB / 0.5721 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4284, allocations: 9.656 kB / 0.5721 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.43, allocations: 449.6 kB / 0.5725 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.43, allocations: 2.234 kB / 0.5725 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.4304, allocations: 48.31 kB / 0.5725 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4304, allocations: 0 / 0.5725 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4304, allocations: 5.672 kB / 0.5726 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4304, allocations: 1.953 kB / 0.5726 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4304, allocations: 3.938 kB / 0.5726 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.4318, allocations: 306.1 kB / 0.5729 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.4318, allocations: 82.27 kB / 0.5729 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.4318, allocations: 2.109 kB / 0.5729 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.4322, allocations: 39.44 kB / 0.573 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.4323, allocations: 4.391 kB / 0.573 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4323, allocations: 6.156 kB / 0.573 GB, free: 29.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.062e-05/0.4323, allocations: 75.28 kB / 0.5731 GB, free: 28.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4323, allocations: 0 / 0.5731 GB, free: 28.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.4326, allocations: 13.53 kB / 0.5731 GB, free: 28.98 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.001755/0.4343, allocations: 0.8498 MB / 0.5739 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.4358, allocations: 179.7 kB / 0.5741 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4358, allocations: 4.188 kB / 0.5741 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007006/0.4366, allocations: 88.17 kB / 0.5742 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.4368, allocations: 8.875 kB / 0.5742 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.4384, allocations: 244.6 kB / 0.5744 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.4386, allocations: 0.6756 MB / 0.5751 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.4388, allocations: 29.19 kB / 0.5751 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.4389, allocations: 15.73 kB / 0.5751 GB, free: 27.37 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4389, allocations: 0 / 0.5751 GB, free: 27.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.458, allocations: 1.615 MB / 0.5767 GB, free: 27.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.679, allocations: 1.281 kB / 0.5767 GB, free: 27.02 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)