Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.478/1.478, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.001174/0.001174, allocations: 178.2 kB / 325.8 MB, free: 2.668 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.754/1.754, 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.0007591/0.000759, allocations: 84 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 7.938 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001088/0.1653, allocations: 0.9589 MB / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.166, allocations: 449 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.1661, allocations: 0 / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.1661, allocations: 0 / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.445e-05/0.1661, allocations: 0 / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1666, allocations: 95.77 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.1667, allocations: 8 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.1667, allocations: 15.86 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.907e-05/0.1667, allocations: 11.94 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.1668, allocations: 3.984 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1668, allocations: 8 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.1669, allocations: 99.89 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.167, allocations: 0 / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.167, allocations: 15.92 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1672, allocations: 99.97 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1672, allocations: 0 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1672, allocations: 0 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.1672, 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.0003083/0.1675, allocations: 369.3 kB / 0.8982 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1675, allocations: 12.03 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.1676, allocations: 38.69 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1676, allocations: 4.844 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.187e-05/0.1677, allocations: 168.4 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1677, allocations: 384 / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1677, allocations: 4.375 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.499e-05/0.1678, allocations: 38.25 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.1678, allocations: 3.938 kB / 0.8985 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.1678, allocations: 0 / 0.8985 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1678, allocations: 0 / 0.8985 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.1679, allocations: 19.92 kB / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.1681, allocations: 244.9 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.412e-05/0.1682, allocations: 34.52 kB / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.1682, allocations: 20.94 kB / 0.8988 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1683, allocations: 0 / 0.8988 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.1684, allocations: 67.33 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1684, allocations: 0 / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001633/0.1685, allocations: 69.59 kB / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.1686, allocations: 55.41 kB / 0.899 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.201e-05/0.1686, allocations: 97.84 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.1686, allocations: 33.7 kB / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.525e-05/0.1687, allocations: 80.14 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.1687, allocations: 11.91 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.1687, allocations: 17.7 kB / 0.8992 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.464e-05/0.1687, allocations: 314.8 kB / 0.8995 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.1688, allocations: 8 kB / 0.8995 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.1688, allocations: 39.36 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.1689, allocations: 55.53 kB / 0.8996 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1689, allocations: 3.938 kB / 0.8996 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.129e-05/0.1689, allocations: 73.53 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.169, allocations: 7.938 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.169, allocations: 0 / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.169, allocations: 4 kB / 0.8997 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.169, allocations: 15.98 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1691, allocations: 0 / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.1691, allocations: 4.062 kB / 0.8997 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-06/0.1691, allocations: 4 kB / 0.8997 GB, free: 64.13 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.476e-05/0.1691, allocations: 125.7 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.1692, allocations: 0 / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.1692, allocations: 3.562 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1692, allocations: 4 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1692, allocations: 0 / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1692, allocations: 4.234 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1694, allocations: 310.5 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1694, allocations: 0 / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.1694, allocations: 3.938 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1694, allocations: 4 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1694, allocations: 3.984 kB / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1694, allocations: 160 / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1694, allocations: 0 / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.941e-05/0.1696, allocations: 159.5 kB / 0.9003 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.1696, allocations: 85.05 kB / 0.9004 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1696, allocations: 7.984 kB / 0.9004 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.1697, allocations: 4 kB / 0.9004 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.1697, allocations: 0 / 0.9004 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1697, allocations: 4 kB / 0.9004 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.831e-05/0.1697, allocations: 79.27 kB / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1697, allocations: 0 / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000251/0.17, allocations: 35.94 kB / 0.9005 GB, free: 63.21 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.0004771/0.1705, allocations: 0.7809 MB / 0.9013 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.1706, allocations: 35.92 kB / 0.9013 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1706, allocations: 0 / 0.9013 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.1706, allocations: 20.11 kB / 0.9013 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.1708, allocations: 7.812 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.1715, allocations: 1.271 MB / 0.9026 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.532e-05/0.1716, allocations: 0.6848 MB / 0.9033 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.845e-05/0.1716, allocations: 0 / 0.9033 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.1716, allocations: 11.44 kB / 0.9033 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.1717, allocations: 0 / 0.9033 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.1817, allocations: 1.785 MB / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001268/0.1818, allocations: 254.2 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/1.672, allocations: 0 / 0.9053 GB, free: 58.36 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)