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.001118/0.001118, allocations: 108 kB / 15.6 MB, free: 132 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.001152/0.001152, allocations: 198 kB / 16.54 MB, free: 6.672 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 282.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.943/0.943, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 96.34 kB / 0.5954 GB, free: 27.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1517, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001805/0.1536, allocations: 0.583 MB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000395/0.154, allocations: 172.1 kB / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.154, allocations: 0 / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.154, allocations: 0 / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.702e-05/0.1541, allocations: 0.6562 kB / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1544, allocations: 41.23 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.048e-05/0.1544, allocations: 15.98 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1545, allocations: 4 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.1545, allocations: 11.94 kB / 0.6811 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.1546, allocations: 8.766 kB / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.1546, allocations: 3.984 kB / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.597e-05/0.1547, allocations: 32.69 kB / 0.6811 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.1547, allocations: 0 / 0.6811 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.1547, allocations: 16.55 kB / 0.6812 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.991e-05/0.1548, allocations: 29.89 kB / 0.6812 GB, free: 15.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1548, allocations: 0 / 0.6812 GB, free: 15.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1549, allocations: 0 / 0.6812 GB, free: 15.67 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1549, allocations: 0 / 0.6812 GB, free: 15.67 MB / 494.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.0003551/0.1552, allocations: 335.8 kB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1553, allocations: 12.03 kB / 0.6815 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.1553, allocations: 38.73 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.1553, allocations: 4.938 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.076e-05/0.1554, allocations: 160.4 kB / 0.6817 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1555, allocations: 384 / 0.6817 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1555, allocations: 16.2 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1556, allocations: 46.25 kB / 0.6818 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1556, allocations: 7.875 kB / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1556, allocations: 0 / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1556, allocations: 4 kB / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/0.1557, allocations: 15.98 kB / 0.6818 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1558, allocations: 157.7 kB / 0.682 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.1559, allocations: 46.56 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.156, allocations: 20.98 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.055e-05/0.1561, allocations: 85.09 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1561, allocations: 34.56 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1561, allocations: 0 / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001213/0.1573, allocations: 484.5 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1574, allocations: 51.41 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.1574, allocations: 97.84 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1574, allocations: 25.7 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.1575, allocations: 80.14 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1575, allocations: 27.78 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.1576, allocations: 21.7 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.1576, allocations: 318.8 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.1577, allocations: 11.94 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.1577, allocations: 15.98 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.117e-05/0.1578, allocations: 37.09 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1578, allocations: 4 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001086/0.1579, allocations: 81.5 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1579, allocations: 4 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1579, allocations: 4 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1579, allocations: 3.984 kB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.158, allocations: 15.94 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.158, allocations: 0 / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.1581, allocations: 4 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1581, allocations: 0 / 0.6834 GB, free: 13.12 MB / 494.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 6.683e-05/0.1582, allocations: 115.2 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.1582, allocations: 3.938 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.1583, allocations: 89.62 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1584, allocations: 0 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1584, allocations: 3.938 kB / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1584, allocations: 0 / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.1585, allocations: 161.7 kB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1585, allocations: 0 / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.1586, allocations: 19.92 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1586, allocations: 0 / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1586, allocations: 8 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1586, allocations: 0 / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1586, allocations: 4 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1588, allocations: 113 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.1588, allocations: 84.95 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1589, allocations: 4.031 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.1589, allocations: 4 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.1589, allocations: 11.97 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1589, allocations: 0 / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.892e-05/0.159, allocations: 83.34 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.159, allocations: 0 / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1592, allocations: 32 kB / 0.6841 GB, free: 12.3 MB / 494.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.0004864/0.1597, allocations: 0.6826 MB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1598, allocations: 40.12 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1598, allocations: 4 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.1599, allocations: 23.94 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.16, allocations: 6.375 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1611, allocations: 1.193 MB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1613, allocations: 0.6807 MB / 0.6866 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.1613, allocations: 11.98 kB / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.1614, allocations: 11.44 kB / 0.6867 GB, free: 9.516 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1614, allocations: 0 / 0.6867 GB, free: 9.516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.28/0.4414, allocations: 1.809 MB / 0.6884 GB, free: 7.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.879, allocations: 13.98 kB / 0.6884 GB, free: 7.863 MB / 494.1 MB (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)