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.0008529/0.0008528, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009584/0.0009583, allocations: 168.7 kB / 15.95 MB, free: 204 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.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.004/1.004, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 83.41 MB / 0.5975 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Utilities.Time.TimeInDayHourMinute): time 0.001377/0.1536, allocations: 1.188 MB / 0.5987 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.1539, allocations: 171.5 kB / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.154, allocations: 0 / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.154, allocations: 0 / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.247e-05/0.154, allocations: 0 / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.1542, allocations: 19.92 kB / 0.5989 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.928e-05/0.1543, allocations: 27.92 kB / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.1543, allocations: 15.97 kB / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.1544, allocations: 0 / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.85e-05/0.1544, allocations: 7.938 kB / 0.5989 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1544, allocations: 0 / 0.5989 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.503e-05/0.1545, allocations: 19.98 kB / 0.5989 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.1545, allocations: 7.938 kB / 0.5989 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.1545, allocations: 29.7 kB / 0.599 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.76e-05/0.1546, allocations: 28.17 kB / 0.599 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1546, allocations: 0 / 0.599 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1546, allocations: 0 / 0.599 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1546, allocations: 4 kB / 0.599 GB, free: 6.199 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.0003138/0.155, allocations: 339.2 kB / 0.5993 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.155, allocations: 8.031 kB / 0.5993 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.155, allocations: 34.5 kB / 0.5994 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1552, allocations: 12 kB / 0.5994 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.1553, allocations: 171 kB / 0.5995 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1553, allocations: 0 / 0.5995 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1553, allocations: 4 kB / 0.5995 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1555, allocations: 49.69 kB / 0.5996 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1555, allocations: 0 / 0.5996 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1555, allocations: 3.984 kB / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1555, allocations: 4 kB / 0.5996 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.1556, allocations: 35.91 kB / 0.5996 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.1559, allocations: 264.7 kB / 0.5999 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.509e-05/0.156, allocations: 38.56 kB / 0.5999 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.156, allocations: 20.94 kB / 0.5999 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.1561, allocations: 4 kB / 0.5999 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1561, allocations: 34.56 kB / 0.6 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1561, allocations: 3.938 kB / 0.6 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002029/0.1563, allocations: 69.67 kB / 0.6 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.1563, allocations: 55.36 kB / 0.6001 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.1564, allocations: 105.8 kB / 0.6002 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1564, allocations: 25.7 kB / 0.6002 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.1565, allocations: 80.14 kB / 0.6003 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.1565, allocations: 23.69 kB / 0.6003 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.1565, allocations: 0 / 0.6003 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.085e-05/0.1566, allocations: 310.8 kB / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.1566, allocations: 15.98 kB / 0.6006 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.1567, allocations: 16.11 kB / 0.6006 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.1567, allocations: 12 kB / 0.6007 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1567, allocations: 0 / 0.6007 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/0.1569, allocations: 65.61 kB / 0.6007 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1569, allocations: 4.938 kB / 0.6007 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.1569, allocations: 4 kB / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1569, allocations: 4 kB / 0.6007 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.157, allocations: 8 kB / 0.6007 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.157, allocations: 7.953 kB / 0.6007 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.157, allocations: 0 / 0.6007 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.157, allocations: 8 kB / 0.6008 GB, free: 4.168 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.329e-05/0.1571, allocations: 109.8 kB / 0.6009 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1571, allocations: 3.906 kB / 0.6009 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.1572, allocations: 11.5 kB / 0.6009 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1572, allocations: 0 / 0.6009 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1572, allocations: 4 kB / 0.6009 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1572, allocations: 3.953 kB / 0.6009 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1573, allocations: 161.7 kB / 0.601 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1573, allocations: 3.984 kB / 0.601 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.1574, allocations: 11.94 kB / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1574, allocations: 0 / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.1574, allocations: 0 / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1574, allocations: 0 / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1574, allocations: 0 / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1576, allocations: 167.8 kB / 0.6012 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.1576, allocations: 77.11 kB / 0.6013 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.1576, allocations: 4 kB / 0.6013 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.1577, allocations: 7.938 kB / 0.6013 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1577, allocations: 7.984 kB / 0.6013 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1577, allocations: 0 / 0.6013 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.1578, allocations: 79.28 kB / 0.6014 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.282e-06/0.1578, allocations: 0 / 0.6014 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002178/0.158, allocations: 7.938 kB / 0.6014 GB, free: 3.422 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.0003509/0.1584, allocations: 0.7007 MB / 0.6021 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1585, allocations: 27.98 kB / 0.6021 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1585, allocations: 0 / 0.6021 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.1585, allocations: 23.92 kB / 0.6021 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.1588, allocations: 6.953 kB / 0.6021 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.1591, allocations: 180.2 kB / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.1593, allocations: 0.6809 MB / 0.603 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.1594, allocations: 0 / 0.603 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.1594, allocations: 7.438 kB / 0.603 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1594, allocations: 0 / 0.603 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009507/0.1689, allocations: 0.9479 MB / 0.6039 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.1691, allocations: 175.8 kB / 0.6041 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.836, allocations: 0 / 0.6041 GB, free: 0.6367 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: