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.001517/0.001517, allocations: 96.11 kB / 15.69 MB, free: 480 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.002207/0.002207, allocations: 175.9 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.727/2.727, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8998/0.8998, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 12 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 77.12 MB / 0.5567 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0005028/0.1363, allocations: 312.9 kB / 0.557 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.1366, allocations: 157.7 kB / 0.5572 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.027e-05/0.1366, allocations: 0 / 0.5572 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.28e-06/0.1366, allocations: 0 / 0.5572 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.12e-05/0.1366, allocations: 4 kB / 0.5572 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.1368, allocations: 27.97 kB / 0.5572 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.388e-05/0.1368, allocations: 0 / 0.5572 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.591e-05/0.1369, allocations: 11.92 kB / 0.5572 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.072e-05/0.1369, allocations: 7.938 kB / 0.5572 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.1369, allocations: 7.984 kB / 0.5572 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1369, allocations: 4 kB / 0.5572 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.137, allocations: 27.95 kB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-06/0.137, allocations: 4 kB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.137, allocations: 33.64 kB / 0.5573 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.454e-05/0.1371, allocations: 19.95 kB / 0.5573 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.1371, allocations: 0 / 0.5573 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1371, allocations: 0 / 0.5573 GB, free: 11.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.455e-06/0.1371, allocations: 0 / 0.5573 GB, free: 11.04 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.0002258/0.1373, allocations: 327.4 kB / 0.5576 GB, free: 10.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.44e-05/0.1374, allocations: 12.03 kB / 0.5577 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.1374, allocations: 30.56 kB / 0.5577 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.459e-05/0.1374, allocations: 0 / 0.5577 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.453e-05/0.1375, allocations: 163.4 kB / 0.5578 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.1375, allocations: 11.98 kB / 0.5579 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1375, allocations: 3.906 kB / 0.5579 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.1376, allocations: 45.64 kB / 0.5579 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.1376, allocations: 3.938 kB / 0.5579 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-06/0.1376, allocations: 0 / 0.5579 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1376, allocations: 4 kB / 0.5579 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.1377, allocations: 15.98 kB / 0.5579 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.1378, allocations: 157.6 kB / 0.5581 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.1379, allocations: 46.62 kB / 0.5581 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.1379, allocations: 81.11 kB / 0.5582 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.138, allocations: 38.55 kB / 0.5582 GB, free: 9.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 4.789e-06/0.138, allocations: 0 / 0.5582 GB, free: 9.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001011/0.139, allocations: 484.1 kB / 0.5587 GB, free: 9.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.139, allocations: 55.41 kB / 0.5587 GB, free: 9.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.143e-05/0.1391, allocations: 97.8 kB / 0.5588 GB, free: 9.211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1391, allocations: 29.7 kB / 0.5589 GB, free: 9.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.995e-05/0.1391, allocations: 80.14 kB / 0.5589 GB, free: 9.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.1392, allocations: 31.62 kB / 0.559 GB, free: 9.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.1392, allocations: 0 / 0.559 GB, free: 9.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.1392, allocations: 310.8 kB / 0.5593 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.1393, allocations: 15.98 kB / 0.5593 GB, free: 8.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.1393, allocations: 12 kB / 0.5593 GB, free: 8.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.1393, allocations: 16.12 kB / 0.5593 GB, free: 8.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.1393, allocations: 0 / 0.5593 GB, free: 8.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.291e-05/0.1394, allocations: 77.75 kB / 0.5594 GB, free: 8.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.1395, allocations: 8 kB / 0.5594 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1395, allocations: 3.984 kB / 0.5594 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.1395, allocations: 3.953 kB / 0.5594 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.1395, allocations: 12 kB / 0.5594 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.1396, allocations: 0 / 0.5594 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.1396, allocations: 0 / 0.5594 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1396, allocations: 4 kB / 0.5594 GB, free: 8.594 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 5.445e-05/0.1397, allocations: 113.8 kB / 0.5595 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1397, allocations: 7.984 kB / 0.5595 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.1398, allocations: 85.56 kB / 0.5596 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1398, allocations: 4.391 kB / 0.5596 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1398, allocations: 0 / 0.5596 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1398, allocations: 0 / 0.5596 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.932e-05/0.1399, allocations: 161.7 kB / 0.5598 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1399, allocations: 4 kB / 0.5598 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.14, allocations: 19.98 kB / 0.5598 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.14, allocations: 4 kB / 0.5598 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.14, allocations: 0 / 0.5598 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.14, allocations: 0 / 0.5598 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.14, allocations: 3.953 kB / 0.5598 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.1402, allocations: 113 kB / 0.5599 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.1402, allocations: 81.14 kB / 0.56 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1402, allocations: 7.938 kB / 0.56 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.1403, allocations: 4.062 kB / 0.56 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.1403, allocations: 7.984 kB / 0.56 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1403, allocations: 7.891 kB / 0.56 GB, free: 7.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.585e-05/0.1403, allocations: 79.28 kB / 0.5601 GB, free: 7.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1403, allocations: 0 / 0.5601 GB, free: 7.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001922/0.1405, allocations: 32 kB / 0.5601 GB, free: 7.77 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.0004041/0.1409, allocations: 0.6796 MB / 0.5608 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.141, allocations: 35.98 kB / 0.5608 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.141, allocations: 0 / 0.5608 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.1411, allocations: 27.92 kB / 0.5608 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.926e-05/0.1411, allocations: 0 / 0.5608 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.1416, allocations: 430.4 kB / 0.5613 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.1418, allocations: 0.6809 MB / 0.5619 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.005e-05/0.1418, allocations: 4.812 kB / 0.5619 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.1418, allocations: 15.42 kB / 0.5619 GB, free: 5.805 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1418, allocations: 0 / 0.5619 GB, free: 5.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.657/0.7988, allocations: 1.569 MB / 0.5635 GB, free: 4.426 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005165/0.7994, allocations: 209.8 kB / 0.5637 GB, free: 4.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.619, allocations: 0 / 0.5637 GB, free: 4.184 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: