Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009216/0.0009216, allocations: 175.1 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007018/0.0007019, allocations: 89.3 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003573, allocations: 9.75 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.163, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00074/0.1638, allocations: 344.1 kB / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.125e-05/0.1639, allocations: 4 kB / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.1639, allocations: 0 / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.1639, allocations: 0 / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.1639, allocations: 0 / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.589e-05/0.164, allocations: 4 kB / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.882e-05/0.164, allocations: 3.984 kB / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1641, allocations: 4 kB / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.1641, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.1641, allocations: 7.922 kB / 0.8966 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1641, allocations: 0 / 0.8966 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-06/0.1641, allocations: 4 kB / 0.8966 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.1641, allocations: 0 / 0.8966 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.1642, allocations: 0 / 0.8966 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.394e-05/0.1642, allocations: 4 kB / 0.8966 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1642, allocations: 0 / 0.8966 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1642, allocations: 0 / 0.8966 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1642, allocations: 0 / 0.8966 GB, free: 67.73 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001887/0.1644, allocations: 311.6 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1645, allocations: 8.031 kB / 0.8969 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.078e-05/0.1645, allocations: 34.69 kB / 0.8969 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.841e-05/0.1645, allocations: 0.9375 kB / 0.8969 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.977e-05/0.1646, allocations: 164.4 kB / 0.8971 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1646, allocations: 384 / 0.8971 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1646, allocations: 4.359 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.055e-05/0.1647, allocations: 30.27 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1647, allocations: 3.938 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1647, allocations: 4 kB / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1647, allocations: 0 / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.523e-05/0.1647, allocations: 0 / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.985e-05/0.1648, allocations: 149.7 kB / 0.8972 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.828e-05/0.1649, allocations: 22.5 kB / 0.8973 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.1649, allocations: 8.953 kB / 0.8973 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.485e-06/0.1649, allocations: 0 / 0.8973 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.1649, allocations: 38.56 kB / 0.8973 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1649, allocations: 3.938 kB / 0.8973 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 9.417e-05/0.165, allocations: 37.58 kB / 0.8973 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.1651, allocations: 59.34 kB / 0.8974 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.598e-05/0.1651, allocations: 89.86 kB / 0.8975 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.1651, allocations: 25.7 kB / 0.8975 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.186e-05/0.1651, allocations: 80.14 kB / 0.8976 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1651, allocations: 128 / 0.8976 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.1652, allocations: 13.72 kB / 0.8976 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.1652, allocations: 318.8 kB / 0.8979 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-06/0.1652, allocations: 4.812 kB / 0.8979 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-06/0.1652, allocations: 0 / 0.8979 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.72e-05/0.1653, allocations: 4.859 kB / 0.8979 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1653, allocations: 4 kB / 0.8979 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.576e-05/0.1653, allocations: 33.64 kB / 0.8979 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.1653, allocations: 8.094 kB / 0.898 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1653, allocations: 3.938 kB / 0.898 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1654, allocations: 0 / 0.898 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.1654, allocations: 8 kB / 0.898 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1654, allocations: 0 / 0.898 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-06/0.1654, allocations: 0 / 0.898 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.1654, allocations: 3.984 kB / 0.898 GB, free: 66.05 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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 4.394e-05/0.1655, allocations: 109.8 kB / 0.8981 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.1655, allocations: 4 kB / 0.8981 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.312e-05/0.1655, allocations: 11.06 kB / 0.8981 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.1655, allocations: 0 / 0.8981 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1655, allocations: 0 / 0.8981 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1655, allocations: 0 / 0.8981 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.163e-05/0.1656, allocations: 145.7 kB / 0.8982 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1656, allocations: 0 / 0.8982 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.1656, allocations: 4 kB / 0.8982 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.1656, allocations: 0 / 0.8982 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.1656, allocations: 3.938 kB / 0.8982 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.1656, allocations: 0 / 0.8982 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1656, allocations: 0 / 0.8982 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.583e-05/0.1657, allocations: 65.08 kB / 0.8983 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.1657, allocations: 81.09 kB / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-06/0.1657, allocations: 7.875 kB / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-06/0.1657, allocations: 0 / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-06/0.1657, allocations: 0 / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.1657, allocations: 0 / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.402e-05/0.1658, allocations: 75.28 kB / 0.8985 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 8.031 kB / 0.8985 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001831/0.166, allocations: 0 / 0.8985 GB, free: 65.45 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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.000183/0.1661, allocations: 0.5928 MB / 0.899 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.722e-05/0.1662, allocations: 7.938 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1662, allocations: 8.094 kB / 0.8991 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-06/0.1662, allocations: 0 / 0.8991 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1664, allocations: 4 kB / 0.8991 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.1666, allocations: 100.3 kB / 0.8992 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/0.1667, allocations: 0.6731 MB / 0.8998 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.224e-05/0.1667, allocations: 0 / 0.8998 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.1667, allocations: 11.44 kB / 0.8998 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.1667, allocations: 0 / 0.8998 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1882/0.355, allocations: 0.6961 MB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.3551, allocations: 211.6 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.873, allocations: 0 / 0.9007 GB, free: 63.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)