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.001234/0.001234, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001393/0.001393, allocations: 196.7 kB / 16.91 MB, free: 6.188 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.443/1.443, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7155/0.7155, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4504, allocations: 76.17 MB / 0.556 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002/0.4524, allocations: 0.6509 MB / 0.5567 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000401/0.4528, allocations: 163.1 kB / 0.5568 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.4529, allocations: 0 / 0.5568 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.4529, allocations: 4.219 kB / 0.5568 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.539e-05/0.4529, allocations: 0 / 0.5568 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.4533, allocations: 32.97 kB / 0.5569 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.4533, allocations: 16.88 kB / 0.5569 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.4534, allocations: 2.594 kB / 0.5569 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.4534, allocations: 8.438 kB / 0.5569 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.4535, allocations: 17.28 kB / 0.5569 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.4535, allocations: 2.812 kB / 0.5569 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.4536, allocations: 30.84 kB / 0.5569 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.4536, allocations: 2.656 kB / 0.5569 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.4537, allocations: 12.09 kB / 0.557 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.4538, allocations: 26.45 kB / 0.557 GB, free: 35.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4538, allocations: 0 / 0.557 GB, free: 35.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4538, allocations: 4.625 kB / 0.557 GB, free: 35.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4538, allocations: 0 / 0.557 GB, free: 35.01 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.0003603/0.4542, allocations: 329.6 kB / 0.5573 GB, free: 34.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4542, allocations: 9.812 kB / 0.5573 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.4543, allocations: 35.39 kB / 0.5573 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.4543, allocations: 2.422 kB / 0.5573 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.4544, allocations: 168.3 kB / 0.5575 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4544, allocations: 5.406 kB / 0.5575 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.4544, allocations: 7.25 kB / 0.5575 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.4546, allocations: 42.58 kB / 0.5576 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.4546, allocations: 3.938 kB / 0.5576 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4546, allocations: 7.75 kB / 0.5576 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4546, allocations: 1 kB / 0.5576 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.4547, allocations: 15.48 kB / 0.5576 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.4548, allocations: 160.7 kB / 0.5577 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.397e-05/0.4549, allocations: 44.03 kB / 0.5578 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.455, allocations: 20.53 kB / 0.5578 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.734e-05/0.4551, allocations: 87.22 kB / 0.5579 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4551, allocations: 41.77 kB / 0.5579 GB, free: 33.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4551, allocations: 0 / 0.5579 GB, free: 33.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001362/0.4565, allocations: 486.5 kB / 0.5584 GB, free: 33.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.4565, allocations: 55.41 kB / 0.5584 GB, free: 33.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.4566, allocations: 94.77 kB / 0.5585 GB, free: 33.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.4566, allocations: 25.7 kB / 0.5586 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.4566, allocations: 81.73 kB / 0.5586 GB, free: 33.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.4567, allocations: 20.59 kB / 0.5587 GB, free: 33.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.4567, allocations: 23.83 kB / 0.5587 GB, free: 33.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.4568, allocations: 316.7 kB / 0.559 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.4568, allocations: 7.25 kB / 0.559 GB, free: 32.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.4569, allocations: 13.67 kB / 0.559 GB, free: 32.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.4569, allocations: 45.55 kB / 0.559 GB, free: 32.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.457, allocations: 0.9688 kB / 0.559 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001169/0.4571, allocations: 71.05 kB / 0.5591 GB, free: 32.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4571, allocations: 7.875 kB / 0.5591 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4571, allocations: 0 / 0.5591 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.4571, allocations: 2.812 kB / 0.5591 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.4572, allocations: 17.36 kB / 0.5591 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4573, allocations: 0 / 0.5591 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.4573, allocations: 2.797 kB / 0.5591 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4573, allocations: 2.531 kB / 0.5591 GB, free: 32.86 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 7.287e-05/0.4574, allocations: 116.4 kB / 0.5593 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.4574, allocations: 10.41 kB / 0.5593 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.4576, allocations: 82.34 kB / 0.5593 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4576, allocations: 1.875 kB / 0.5593 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4576, allocations: 0 / 0.5593 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4576, allocations: 3.531 kB / 0.5593 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.4577, allocations: 167.7 kB / 0.5595 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4578, allocations: 5.188 kB / 0.5595 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.4578, allocations: 18.56 kB / 0.5595 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.4579, allocations: 7.547 kB / 0.5595 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4579, allocations: 0.7812 kB / 0.5595 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4579, allocations: 1.406 kB / 0.5595 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4579, allocations: 0 / 0.5595 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.4581, allocations: 114 kB / 0.5596 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.4581, allocations: 86.69 kB / 0.5597 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.4582, allocations: 2.922 kB / 0.5597 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.4582, allocations: 6.031 kB / 0.5597 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.4582, allocations: 8.438 kB / 0.5597 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.4583, allocations: 3.438 kB / 0.5598 GB, free: 32.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.4583, allocations: 76.34 kB / 0.5598 GB, free: 32.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4583, allocations: 0 / 0.5598 GB, free: 32.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.4586, allocations: 35.03 kB / 0.5599 GB, free: 32.2 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.0005082/0.4591, allocations: 0.6823 MB / 0.5605 GB, free: 31.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.4592, allocations: 47.3 kB / 0.5606 GB, free: 31.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4592, allocations: 0.5312 kB / 0.5606 GB, free: 31.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.4593, allocations: 20.73 kB / 0.5606 GB, free: 31.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.4595, allocations: 6.078 kB / 0.5606 GB, free: 31.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4605, allocations: 1.198 MB / 0.5618 GB, free: 30.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.4606, allocations: 0.6861 MB / 0.5624 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.231e-05/0.4607, allocations: 10.11 kB / 0.5624 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.4607, allocations: 16.62 kB / 0.5625 GB, free: 29.7 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4607, allocations: 1.25 kB / 0.5625 GB, free: 29.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.4737, allocations: 1.701 MB / 0.5641 GB, free: 29.51 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.4739, allocations: 226.2 kB / 0.5643 GB, free: 29.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.136, allocations: 3.688 kB / 0.5643 GB, free: 29.25 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)