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.0008452/0.0008453, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008021/0.0008021, allocations: 175.9 kB / 16.58 MB, free: 6.855 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.186/1.186, allocations: 223.2 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5975/0.5975, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 12 kB / 493.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1183, allocations: 77.11 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0005625/0.1189, allocations: 315.1 kB / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002986/0.1192, allocations: 149.8 kB / 0.5574 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.1193, allocations: 4 kB / 0.5574 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.052e-05/0.1193, allocations: 3.938 kB / 0.5574 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.612e-05/0.1193, allocations: 3.938 kB / 0.5574 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1195, allocations: 23.98 kB / 0.5574 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.1196, allocations: 15.97 kB / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.1196, allocations: 4 kB / 0.5574 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.667e-05/0.1196, allocations: 7.938 kB / 0.5574 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.1197, allocations: 7.984 kB / 0.5574 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.1197, allocations: 0 / 0.5574 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.1198, allocations: 27.97 kB / 0.5574 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.1198, allocations: 15.98 kB / 0.5575 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.1198, allocations: 25.7 kB / 0.5575 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.413e-05/0.1199, allocations: 11.97 kB / 0.5575 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1199, allocations: 7.938 kB / 0.5575 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1199, allocations: 0 / 0.5575 GB, free: 11.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1199, allocations: 0 / 0.5575 GB, free: 11.01 MB / 430.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.0002802/0.1202, allocations: 331.4 kB / 0.5578 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1202, allocations: 8.031 kB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.1203, allocations: 30.56 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.1203, allocations: 8 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.742e-05/0.1204, allocations: 163.3 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1204, allocations: 4 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1204, allocations: 7.906 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/0.1205, allocations: 45.64 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1205, allocations: 0 / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.1205, allocations: 0 / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1205, allocations: 0 / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/0.1206, allocations: 19.92 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.1207, allocations: 161.6 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.1208, allocations: 46.62 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.1208, allocations: 16.98 kB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-05/0.1209, allocations: 81.09 kB / 0.5584 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1209, allocations: 38.56 kB / 0.5584 GB, free: 9.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.121, allocations: 0 / 0.5584 GB, free: 9.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001018/0.122, allocations: 496.2 kB / 0.5589 GB, free: 9.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.122, allocations: 55.34 kB / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.878e-05/0.1221, allocations: 93.86 kB / 0.559 GB, free: 9.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1221, allocations: 29.7 kB / 0.5591 GB, free: 9.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.1221, allocations: 80.14 kB / 0.5591 GB, free: 9.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.1221, allocations: 23.64 kB / 0.5592 GB, free: 9.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.1222, allocations: 4 kB / 0.5592 GB, free: 9.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.1222, allocations: 319 kB / 0.5595 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.1223, allocations: 11.98 kB / 0.5595 GB, free: 8.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.1223, allocations: 8 kB / 0.5595 GB, free: 8.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.1223, allocations: 12 kB / 0.5595 GB, free: 8.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.1223, allocations: 4 kB / 0.5595 GB, free: 8.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.548e-05/0.1224, allocations: 77.52 kB / 0.5596 GB, free: 8.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1225, allocations: 9.703 kB / 0.5596 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1225, allocations: 3.953 kB / 0.5596 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1225, allocations: 0 / 0.5596 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.1226, allocations: 15.94 kB / 0.5596 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1226, allocations: 4.312 kB / 0.5596 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.1226, allocations: 4 kB / 0.5596 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1226, allocations: 4 kB / 0.5596 GB, free: 8.531 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.1227, allocations: 109.8 kB / 0.5597 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1227, allocations: 3.984 kB / 0.5597 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1228, allocations: 85.56 kB / 0.5598 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1228, allocations: 7.953 kB / 0.5598 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1229, allocations: 4 kB / 0.5598 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1229, allocations: 0 / 0.5598 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.123, allocations: 165.7 kB / 0.56 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.123, allocations: 0 / 0.56 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.123, allocations: 15.98 kB / 0.56 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1231, allocations: 0 / 0.56 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1231, allocations: 0 / 0.56 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1231, allocations: 0 / 0.56 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1231, allocations: 7.953 kB / 0.56 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.1232, allocations: 121 kB / 0.5601 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.1233, allocations: 77.11 kB / 0.5602 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.1233, allocations: 0 / 0.5602 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.1233, allocations: 4.219 kB / 0.5602 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.1234, allocations: 7.938 kB / 0.5602 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.1234, allocations: 12 kB / 0.5602 GB, free: 7.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.1234, allocations: 75.28 kB / 0.5603 GB, free: 7.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1234, allocations: 0 / 0.5603 GB, free: 7.746 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.1236, allocations: 36.08 kB / 0.5603 GB, free: 7.711 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.124, allocations: 0.6756 MB / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.1241, allocations: 39.97 kB / 0.561 GB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1241, allocations: 0 / 0.561 GB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.1242, allocations: 23.94 kB / 0.561 GB, free: 6.945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1243, allocations: 8.062 kB / 0.5611 GB, free: 6.938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.1248, allocations: 426.3 kB / 0.5615 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.125, allocations: 0.6809 MB / 0.5621 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.1251, allocations: 8.25 kB / 0.5621 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.1251, allocations: 18.69 kB / 0.5622 GB, free: 5.742 MB / 430.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1251, allocations: 0 / 0.5622 GB, free: 5.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01014/0.1352, allocations: 1.585 MB / 0.5637 GB, free: 4.355 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.1354, allocations: 211.5 kB / 0.5639 GB, free: 4.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.395/1.531, allocations: 0 / 0.5639 GB, free: 4.117 MB / 430.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/linux/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) Environment - environmentSimulation: