Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Utilities.Time.TimeInDayHourMinute.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.Utilities.Time.TimeInDayHourMinute,fileNamePrefix="BuildSysPro_BuildSysPro_Utilities_Time_TimeInDayHourMinute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Utilities.Time.TimeInDayHourMinute,fileNamePrefix="BuildSysPro_BuildSysPro_Utilities_Time_TimeInDayHourMinute",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.001093/0.001093, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001296/0.001296, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9653/0.9653, allocations: 143.3 MB / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003077, allocations: 8 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 83.42 MB / 0.5973 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Utilities.Time.TimeInDayHourMinute): time 0.001447/0.1636, allocations: 1.188 MB / 0.5985 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002778/0.1639, allocations: 167.4 kB / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.164, allocations: 0 / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.083e-05/0.164, allocations: 0 / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.164, allocations: 4 kB / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.1642, allocations: 23.97 kB / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.1642, allocations: 15.92 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.1643, allocations: 4 kB / 0.5987 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.1643, allocations: 11.98 kB / 0.5987 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.1644, allocations: 11.92 kB / 0.5987 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.1644, allocations: 0 / 0.5987 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-05/0.1644, allocations: 15.94 kB / 0.5987 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-06/0.1645, allocations: 0 / 0.5987 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.1645, allocations: 33.69 kB / 0.5988 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.887e-05/0.1646, allocations: 28.19 kB / 0.5988 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1646, allocations: 0 / 0.5988 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1646, allocations: 0 / 0.5988 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.1646, allocations: 0 / 0.5988 GB, free: 6.207 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003158/0.1649, allocations: 339.3 kB / 0.5991 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1649, allocations: 12.03 kB / 0.5991 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.165, allocations: 38.48 kB / 0.5992 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1651, allocations: 4 kB / 0.5992 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1652, allocations: 171 kB / 0.5993 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.1652, allocations: 4 kB / 0.5993 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.1653, allocations: 4 kB / 0.5993 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1654, allocations: 53.67 kB / 0.5994 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.1654, allocations: 0 / 0.5994 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.1654, allocations: 0 / 0.5994 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1654, allocations: 0 / 0.5994 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.175e-05/0.1655, allocations: 39.91 kB / 0.5994 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.1658, allocations: 268.8 kB / 0.5997 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/0.1659, allocations: 34.56 kB / 0.5997 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.1659, allocations: 3.938 kB / 0.5997 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.1659, allocations: 38.56 kB / 0.5998 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.1659, allocations: 3.984 kB / 0.5998 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002108/0.1662, allocations: 73.7 kB / 0.5998 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1662, allocations: 55.36 kB / 0.5999 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.1663, allocations: 97.86 kB / 0.6 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1663, allocations: 29.81 kB / 0.6 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.1663, allocations: 88.08 kB / 0.6001 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.1663, allocations: 15.75 kB / 0.6001 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.1664, allocations: 0 / 0.6001 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.1664, allocations: 314.8 kB / 0.6004 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.1665, allocations: 11.98 kB / 0.6004 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.1665, allocations: 12 kB / 0.6004 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.1666, allocations: 23.98 kB / 0.6005 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1666, allocations: 0 / 0.6005 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.1667, allocations: 57.62 kB / 0.6005 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1667, allocations: 7.984 kB / 0.6005 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1668, allocations: 4 kB / 0.6005 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1668, allocations: 0 / 0.6005 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.1668, allocations: 8 kB / 0.6005 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1668, allocations: 3.953 kB / 0.6005 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.1669, allocations: 4 kB / 0.6005 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1669, allocations: 4 kB / 0.6005 GB, free: 4.195 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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.068e-05/0.167, allocations: 116.1 kB / 0.6006 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.167, allocations: 7.906 kB / 0.6007 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.167, allocations: 7.5 kB / 0.6007 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.167, allocations: 0 / 0.6007 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.167, allocations: 0 / 0.6007 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.167, allocations: 3.953 kB / 0.6007 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1672, allocations: 165.7 kB / 0.6008 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1672, allocations: 0 / 0.6008 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.1672, allocations: 19.92 kB / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1672, allocations: 0 / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.1673, allocations: 0 / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1673, allocations: 0 / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1673, allocations: 0 / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.1674, allocations: 163.5 kB / 0.601 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.1675, allocations: 77.11 kB / 0.6011 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1675, allocations: 4 kB / 0.6011 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.613e-05/0.1676, allocations: 4 kB / 0.6011 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.1676, allocations: 7.984 kB / 0.6011 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1676, allocations: 0 / 0.6011 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.718e-05/0.1676, allocations: 83.16 kB / 0.6012 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1676, allocations: 0 / 0.6012 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002039/0.1678, allocations: 12.09 kB / 0.6012 GB, free: 3.441 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0003602/0.1682, allocations: 0.6932 MB / 0.6019 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1683, allocations: 31.98 kB / 0.6019 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1683, allocations: 0 / 0.6019 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.1684, allocations: 20.02 kB / 0.6019 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.1685, allocations: 8 kB / 0.6019 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.1689, allocations: 176.2 kB / 0.6021 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1691, allocations: 0.6848 MB / 0.6028 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.1691, allocations: 0 / 0.6028 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.1692, allocations: 15.44 kB / 0.6028 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1692, allocations: 0 / 0.6028 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009317/0.1785, allocations: 0.9134 MB / 0.6037 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.1787, allocations: 174.8 kB / 0.6038 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.696, allocations: 8 kB / 0.6038 GB, free: 0.6719 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.Utilities.Time.TimeInDayHourMinute.pipe ; mkfifo BuildSysPro_BuildSysPro.Utilities.Time.TimeInDayHourMinute.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Utilities.Time.TimeInDayHourMinute.pipe >> ../files/BuildSysPro_BuildSysPro.Utilities.Time.TimeInDayHourMinute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Utilities_Time_TimeInDayHourMinute_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Utilities_Time_TimeInDayHourMinute.fmu > BuildSysPro_BuildSysPro.Utilities.Time.TimeInDayHourMinute.pipe 2>&1) Environment - environmentSimulation: