Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.738/1.738, allocations: 288.4 MB / 303.3 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 181.6 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 0.6307 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007744/0.0007744, allocations: 86.36 kB / 0.744 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004122, allocations: 10.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3131, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001753/0.3149, allocations: 0.9356 MB / 0.9806 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3161, allocations: 420.7 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.3162, allocations: 0 / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.3162, allocations: 0 / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.3163, allocations: 7.875 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.317, allocations: 91.77 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.364e-05/0.3171, allocations: 15.98 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.3172, allocations: 4 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.3172, allocations: 7.938 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.3173, allocations: 15.92 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3173, allocations: 4 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.3176, allocations: 95.89 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.3176, allocations: 7.922 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.3177, allocations: 33.7 kB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3179, allocations: 63.89 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.3179, allocations: 4 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3179, allocations: 0 / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.318, allocations: 0 / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006951/0.3187, allocations: 377.2 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.644e-05/0.3188, allocations: 20.02 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.3189, allocations: 38.48 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.3189, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3191, allocations: 174.9 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.3192, allocations: 0 / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.3192, allocations: 7.938 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.3194, allocations: 49.61 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3194, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3195, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3195, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.3196, allocations: 16 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.32, allocations: 248.8 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.848e-05/0.3201, allocations: 30.62 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.3202, allocations: 20.92 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3202, allocations: 0 / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.3205, allocations: 67.39 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.3205, allocations: 0 / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003398/0.3208, allocations: 77.67 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.3209, allocations: 51.41 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.321, allocations: 113.7 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.321, allocations: 25.7 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.3211, allocations: 92.12 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.3211, allocations: 11.81 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.3211, allocations: 4 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.3212, allocations: 322.8 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.3213, allocations: 8 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.3214, allocations: 40.28 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.3214, allocations: 16 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.3214, allocations: 0 / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001565/0.3216, allocations: 77.64 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3216, allocations: 8 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3217, allocations: 0 / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3217, allocations: 7.984 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3218, allocations: 12.5 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3218, allocations: 3.938 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.3219, allocations: 12.08 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3219, allocations: 8 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001117/0.322, allocations: 121.9 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.3221, allocations: 7.906 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.3221, allocations: 3.969 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3221, allocations: 3.938 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3221, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3222, allocations: 4 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.3225, allocations: 314.5 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3225, allocations: 0 / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.3226, allocations: 4 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3226, allocations: 7.984 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3226, allocations: 0 / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3226, allocations: 0 / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3226, allocations: 0 / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.3228, allocations: 167.4 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.3229, allocations: 85.09 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3229, allocations: 8 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.323, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.323, allocations: 3.938 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3231, allocations: 4 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.133e-05/0.3231, allocations: 83.27 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3231, allocations: 0 / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000512/0.3236, allocations: 32 kB / 0.984 GB, free: 22.77 MB / 0.6198 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009019/0.3245, allocations: 0.7813 MB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.3247, allocations: 39.92 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3247, allocations: 0 / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.3248, allocations: 20.12 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3252, allocations: 8 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.3261, allocations: 450.9 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.3263, allocations: 0.6848 MB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.3264, allocations: 3.906 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.3264, allocations: 15.44 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.3264, allocations: 0 / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.3415, allocations: 1.863 MB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.3418, allocations: 228.9 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/1.99, allocations: 4 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)