Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001891/0.00189, allocations: 180.7 kB / 326.5 MB, free: 2.254 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.977/1.977, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008409/0.0008408, allocations: 97.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 12.94 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2031, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001167/0.2043, allocations: 0.9493 MB / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006488/0.205, allocations: 426.4 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.205, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.2051, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.2051, allocations: 3.984 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.2055, allocations: 83.72 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.2055, allocations: 15.97 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.2056, allocations: 4 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.189e-05/0.2056, allocations: 7.938 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.673e-05/0.2057, allocations: 11.98 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2057, allocations: 4 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.2058, allocations: 87.78 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.2058, allocations: 0 / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.2059, allocations: 29.7 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.206, allocations: 71.88 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.206, allocations: 0 / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.206, allocations: 0 / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.206, allocations: 4 kB / 0.9018 GB, free: 62.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003472/0.2064, allocations: 369.4 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2064, allocations: 11.97 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.2065, allocations: 50.33 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.2065, allocations: 0 / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.2066, allocations: 167 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2066, allocations: 4 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2066, allocations: 4 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.866e-05/0.2067, allocations: 49.67 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2068, allocations: 0 / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.2068, allocations: 0 / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2068, allocations: 0 / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.2068, allocations: 4 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.2071, allocations: 256.9 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.2072, allocations: 38.5 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.2072, allocations: 4 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.2073, allocations: 55.52 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.2073, allocations: 4 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0001846/0.2075, allocations: 81.53 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.2076, allocations: 55.41 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.781e-05/0.2076, allocations: 102.3 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.2076, allocations: 33.7 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.2077, allocations: 80.14 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.2077, allocations: 23.73 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2077, allocations: 0 / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.2077, allocations: 318.8 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.2078, allocations: 4 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.2078, allocations: 52.22 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.2078, allocations: 16 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2078, allocations: 0 / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.073e-05/0.2079, allocations: 81.45 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.208, allocations: 4 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.208, allocations: 4 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.208, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.2081, allocations: 20.14 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2081, allocations: 7.984 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.2081, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.2081, allocations: 11.94 kB / 0.9036 GB, free: 60.04 MB / 0.6042 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 5.043e-05/0.2082, allocations: 117.7 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.2082, allocations: 0 / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.2082, allocations: 7.969 kB / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2082, allocations: 4 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2082, allocations: 3.984 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2082, allocations: 4 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.2084, allocations: 314.5 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2084, allocations: 0 / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.2085, allocations: 4.188 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2085, allocations: 0 / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2085, allocations: 3.938 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2085, allocations: 0 / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2085, allocations: 4 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.2086, allocations: 171.4 kB / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.2086, allocations: 81.11 kB / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2086, allocations: 0 / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.2087, allocations: 0 / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.2087, allocations: 11.98 kB / 0.9043 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.2087, allocations: 0 / 0.9043 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.2088, allocations: 83.41 kB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2088, allocations: 0 / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002937/0.2091, allocations: 39.92 kB / 0.9044 GB, free: 59.1 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 (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.0005508/0.2096, allocations: 0.7802 MB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.2098, allocations: 40.05 kB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2098, allocations: 4.062 kB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.2098, allocations: 19.98 kB / 0.9052 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.2099, allocations: 7.875 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.2106, allocations: 0.969 MB / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.2107, allocations: 0.6809 MB / 0.9069 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.2107, allocations: 11.92 kB / 0.9069 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.2108, allocations: 11.44 kB / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2108, allocations: 0 / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.2228, allocations: 1.836 MB / 0.9087 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.2231, allocations: 229.6 kB / 0.9089 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.715, allocations: 0 / 0.9089 GB, free: 54.54 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)