Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.00462/0.00462, allocations: 99.8 kB / 15.73 MB, free: 6.047 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.001147/0.001148, allocations: 183.1 kB / 16.67 MB, free: 5.977 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 285.9 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8899/0.8899, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 100.5 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1639, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001891/0.1658, allocations: 0.6119 MB / 0.7665 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003765/0.1662, allocations: 155.4 kB / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.1662, allocations: 0 / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.1663, allocations: 0 / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.98e-05/0.1663, allocations: 0 / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1666, allocations: 51.77 kB / 0.7667 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.1667, allocations: 12 kB / 0.7667 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.1667, allocations: 3.984 kB / 0.7667 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.1668, allocations: 4 kB / 0.7668 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.1668, allocations: 15.92 kB / 0.7668 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1669, allocations: 0 / 0.7668 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.167, allocations: 39.95 kB / 0.7668 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.167, allocations: 0 / 0.7668 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.167, allocations: 7.938 kB / 0.7668 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.646e-05/0.1671, allocations: 35.88 kB / 0.7668 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1671, allocations: 4 kB / 0.7669 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1671, allocations: 0 / 0.7669 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.1671, allocations: 4 kB / 0.7669 GB, free: 7.98 MB / 0.5606 GB 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.0003645/0.1675, allocations: 331.7 kB / 0.7672 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1675, allocations: 16.03 kB / 0.7672 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.1676, allocations: 30.75 kB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.1676, allocations: 0.9375 kB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1677, allocations: 160.4 kB / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1677, allocations: 4.375 kB / 0.7674 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1678, allocations: 4.375 kB / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.1679, allocations: 50.17 kB / 0.7674 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1679, allocations: 3.938 kB / 0.7674 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1679, allocations: 0 / 0.7674 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1679, allocations: 8 kB / 0.7674 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.168, allocations: 12 kB / 0.7674 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1682, allocations: 153.7 kB / 0.7676 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.028e-05/0.1683, allocations: 50.55 kB / 0.7676 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.1683, allocations: 20.97 kB / 0.7677 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.1684, allocations: 81.11 kB / 0.7677 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1685, allocations: 34.56 kB / 0.7678 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1685, allocations: 0 / 0.7678 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001285/0.1697, allocations: 492 kB / 0.7682 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1698, allocations: 55.41 kB / 0.7683 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.1699, allocations: 89.86 kB / 0.7684 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1699, allocations: 29.7 kB / 0.7684 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.1699, allocations: 80.14 kB / 0.7685 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.17, allocations: 39.61 kB / 0.7685 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.17, allocations: 21.72 kB / 0.7685 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1701, allocations: 314.8 kB / 0.7688 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.1701, allocations: 15.94 kB / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.1702, allocations: 12 kB / 0.7689 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.1702, allocations: 32.84 kB / 0.7689 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1702, allocations: 3.938 kB / 0.7689 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001102/0.1704, allocations: 73.61 kB / 0.769 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1704, allocations: 8 kB / 0.769 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1704, allocations: 4 kB / 0.769 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1704, allocations: 0 / 0.769 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.1705, allocations: 19.92 kB / 0.769 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1705, allocations: 0 / 0.769 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.1705, allocations: 448 / 0.769 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1706, allocations: 8 kB / 0.769 GB, free: 5.445 MB / 0.5606 GB 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 6.656e-05/0.1706, allocations: 106.5 kB / 0.7691 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.1706, allocations: 7.938 kB / 0.7691 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.1708, allocations: 81.95 kB / 0.7692 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1708, allocations: 4 kB / 0.7692 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.1708, allocations: 4 kB / 0.7692 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1709, allocations: 0 / 0.7692 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.171, allocations: 173.5 kB / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.171, allocations: 3.938 kB / 0.7694 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.1711, allocations: 15.94 kB / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1711, allocations: 0 / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1711, allocations: 0 / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1711, allocations: 3.984 kB / 0.7694 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1711, allocations: 4.078 kB / 0.7694 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1713, allocations: 117.1 kB / 0.7695 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.1713, allocations: 81.05 kB / 0.7696 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1713, allocations: 0 / 0.7696 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/0.1714, allocations: 7.969 kB / 0.7696 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.1714, allocations: 0 / 0.7696 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1714, allocations: 11.98 kB / 0.7696 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.899e-05/0.1715, allocations: 79.34 kB / 0.7697 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1715, allocations: 0 / 0.7697 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002089/0.1717, allocations: 28 kB / 0.7697 GB, free: 4.629 MB / 0.5606 GB 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.0004837/0.1722, allocations: 0.6826 MB / 0.7704 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1723, allocations: 40.08 kB / 0.7704 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1723, allocations: 4 kB / 0.7704 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.1723, allocations: 31.91 kB / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.1725, allocations: 15.88 kB / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.1734, allocations: 1.184 MB / 0.7716 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.1737, allocations: 0.6807 MB / 0.7723 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.1737, allocations: 7.75 kB / 0.7723 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.1737, allocations: 23.42 kB / 0.7723 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1737, allocations: 0 / 0.7723 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.1927, allocations: 1.848 MB / 0.7741 GB, free: 164 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.223, allocations: 13.41 kB / 0.7741 GB, free: 156 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)