Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.001866/0.001866, allocations: 103.4 kB / 16.27 MB, free: 5.93 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.00232/0.00232, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.404/1.404, 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.8024/0.8024, allocations: 122.8 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 63.89 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4129, allocations: 77.93 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001989/0.415, allocations: 0.584 MB / 0.5679 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004237/0.4154, allocations: 158.4 kB / 0.568 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.4155, allocations: 1.594 kB / 0.568 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.4155, allocations: 0 / 0.568 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.183e-05/0.4155, allocations: 0 / 0.568 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.4159, allocations: 39.44 kB / 0.5681 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.4159, allocations: 21.42 kB / 0.5681 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.416, allocations: 7.906 kB / 0.5681 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.109e-05/0.416, allocations: 3.766 kB / 0.5681 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.4161, allocations: 18.16 kB / 0.5681 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.4161, allocations: 1.156 kB / 0.5681 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.4162, allocations: 33.44 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.4162, allocations: 2.078 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.4163, allocations: 12.17 kB / 0.5682 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.4164, allocations: 30.52 kB / 0.5682 GB, free: 32.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4164, allocations: 0.7031 kB / 0.5682 GB, free: 32.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4164, allocations: 1.188 kB / 0.5682 GB, free: 32.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.4164, allocations: 0.6875 kB / 0.5682 GB, free: 32.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003452/0.4168, allocations: 327.4 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4168, allocations: 10.31 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.4168, allocations: 33.8 kB / 0.5685 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.4169, allocations: 7 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.417, allocations: 167.4 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.417, allocations: 3.281 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.417, allocations: 3.406 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.4171, allocations: 50.61 kB / 0.5688 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4171, allocations: 3.938 kB / 0.5688 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4172, allocations: 1.625 kB / 0.5688 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4172, allocations: 5.25 kB / 0.5688 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.4172, allocations: 18.59 kB / 0.5688 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.4174, allocations: 154.6 kB / 0.5689 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.4175, allocations: 44.34 kB / 0.569 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.4175, allocations: 20.14 kB / 0.569 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.4176, allocations: 84.92 kB / 0.5691 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4176, allocations: 36.66 kB / 0.5691 GB, free: 31.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4176, allocations: 0 / 0.5691 GB, free: 31.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001241/0.4189, allocations: 491.3 kB / 0.5696 GB, free: 30.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.4189, allocations: 52.44 kB / 0.5696 GB, free: 30.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.799e-05/0.419, allocations: 93.36 kB / 0.5697 GB, free: 30.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.419, allocations: 26.86 kB / 0.5698 GB, free: 30.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.419, allocations: 80.73 kB / 0.5698 GB, free: 30.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.419, allocations: 30.09 kB / 0.5699 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.4191, allocations: 20.42 kB / 0.5699 GB, free: 30.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.628e-05/0.4192, allocations: 321.6 kB / 0.5702 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.4192, allocations: 9.125 kB / 0.5702 GB, free: 30.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.4192, allocations: 12.91 kB / 0.5702 GB, free: 30.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.4193, allocations: 47.92 kB / 0.5702 GB, free: 29.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4193, allocations: 1.219 kB / 0.5702 GB, free: 29.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001123/0.4194, allocations: 71.53 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4194, allocations: 5.781 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4195, allocations: 0 / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4195, allocations: 1.156 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.4196, allocations: 13.38 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4196, allocations: 1.031 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.4196, allocations: 2.969 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4196, allocations: 3.438 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB 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 (8): * Single equations (assignments): 8 * 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.308e-05/0.4197, allocations: 114.9 kB / 0.5705 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.4197, allocations: 7.266 kB / 0.5705 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.4199, allocations: 81.08 kB / 0.5705 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4199, allocations: 1.781 kB / 0.5705 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4199, allocations: 1.031 kB / 0.5705 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4199, allocations: 2.109 kB / 0.5705 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.504e-05/0.42, allocations: 170.4 kB / 0.5707 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.42, allocations: 6.188 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.4201, allocations: 20.23 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4201, allocations: 1.094 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4201, allocations: 2.641 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4201, allocations: 1.031 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4201, allocations: 1.281 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.4203, allocations: 120.6 kB / 0.5709 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.4203, allocations: 81.05 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.4203, allocations: 3.875 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.4204, allocations: 5.531 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.4204, allocations: 5.031 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.4204, allocations: 3.594 kB / 0.5709 GB, free: 29.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.715e-05/0.4205, allocations: 77.84 kB / 0.571 GB, free: 29.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.4205, allocations: 0 / 0.571 GB, free: 29.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.4207, allocations: 37.25 kB / 0.5711 GB, free: 29.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0003898/0.4211, allocations: 0.6878 MB / 0.5717 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.4212, allocations: 46.94 kB / 0.5718 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4212, allocations: 0.5 kB / 0.5718 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.4213, allocations: 22.34 kB / 0.5718 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.4214, allocations: 10.81 kB / 0.5718 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/0.4223, allocations: 1.189 MB / 0.573 GB, free: 27.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4224, allocations: 0.6847 MB / 0.5736 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.109e-05/0.4225, allocations: 6.922 kB / 0.5736 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.4225, allocations: 12.72 kB / 0.5737 GB, free: 26.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4225, allocations: 1.562 kB / 0.5737 GB, free: 26.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.4416, allocations: 1.785 MB / 0.5754 GB, free: 26.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.633, allocations: 14.59 kB / 0.5754 GB, free: 26.46 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)