Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.43/1.43, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.00108/0.00108, allocations: 172.9 kB / 325.8 MB, free: 2.688 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.402/1.402, allocations: 205 MB / 0.576 GB, free: 20.93 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.0007202/0.0007202, allocations: 92.98 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.0002989, allocations: 9.938 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001116/0.158, allocations: 0.9628 MB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007066/0.1587, allocations: 453.1 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.1587, allocations: 3.938 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1587, allocations: 4 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.661e-05/0.1588, allocations: 0 / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.1592, allocations: 87.78 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.892e-05/0.1593, allocations: 19.92 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.1593, allocations: 8.281 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.1593, allocations: 11.94 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.601e-05/0.1594, allocations: 11.92 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1594, allocations: 0 / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1596, allocations: 107.8 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1596, allocations: 4 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.1596, allocations: 15.86 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1598, allocations: 103.8 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1598, allocations: 0 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.053e-06/0.1598, allocations: 0 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1598, allocations: 0 / 0.8979 GB, free: 66.28 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003462/0.1602, allocations: 377.3 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1602, allocations: 8.031 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.1603, allocations: 34.66 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1603, allocations: 4.938 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.624e-05/0.1604, allocations: 168.3 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1604, allocations: 4.375 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1604, allocations: 384 / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1605, allocations: 46.19 kB / 0.8985 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1605, allocations: 11.88 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1606, allocations: 0 / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1606, allocations: 0 / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.1606, allocations: 7.984 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.1609, allocations: 248.9 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.1609, allocations: 42.44 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.161, allocations: 20.86 kB / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.161, allocations: 0 / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.1611, allocations: 59.48 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1611, allocations: 0 / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001807/0.1613, allocations: 69.69 kB / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1614, allocations: 55.34 kB / 0.899 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/0.1614, allocations: 110.1 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.1614, allocations: 25.7 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.1615, allocations: 88.14 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.1615, allocations: 11.8 kB / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.1615, allocations: 17.72 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.16e-05/0.1615, allocations: 318.8 kB / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.1616, allocations: 8 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.1616, allocations: 39.42 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/0.1616, allocations: 47.36 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1617, allocations: 3.938 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.956e-05/0.1617, allocations: 73.61 kB / 0.8997 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1618, allocations: 4 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1618, allocations: 256 / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1618, allocations: 8.062 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.1618, allocations: 15.94 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1619, allocations: 0 / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.1619, allocations: 11.91 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.1619, allocations: 3.938 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * 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 4.95e-05/0.1619, allocations: 117.7 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.162, allocations: 3.984 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.162, allocations: 11.97 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.162, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.162, allocations: 4 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.162, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1622, allocations: 310.4 kB / 0.9002 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1622, allocations: 0 / 0.9002 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.1622, allocations: 4 kB / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1622, allocations: 0 / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1622, allocations: 0 / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1622, allocations: 4 kB / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1622, allocations: 0 / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.1623, allocations: 171.4 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.1624, allocations: 81.05 kB / 0.9005 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1624, allocations: 0 / 0.9005 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.1624, allocations: 4 kB / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.1625, allocations: 7.984 kB / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1625, allocations: 0 / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.1625, allocations: 87.41 kB / 0.9006 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1625, allocations: 0 / 0.9006 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002433/0.1628, allocations: 39.92 kB / 0.9006 GB, free: 63.17 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004941/0.1633, allocations: 0.7718 MB / 0.9014 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.1634, allocations: 35.92 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1634, allocations: 0 / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.1634, allocations: 19.94 kB / 0.9014 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.1636, allocations: 7.922 kB / 0.9014 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/0.1644, allocations: 1.293 MB / 0.9027 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.1645, allocations: 0.6809 MB / 0.9033 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.1645, allocations: 4 kB / 0.9033 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.1645, allocations: 15.42 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.1645, allocations: 0 / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.1747, allocations: 1.854 MB / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.1749, allocations: 267.5 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/1.862, allocations: 0 / 0.9054 GB, free: 58.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)