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 2.13/2.13, allocations: 252 MB / 267.3 MB, free: 10.84 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.002293/0.002293, allocations: 180.1 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.113/3.113, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.001363/0.001363, allocations: 78.33 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005307, allocations: 7.188 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4082, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002237/0.4106, allocations: 0.9578 MB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.4119, allocations: 444.9 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.412, allocations: 7.938 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.412, allocations: 0 / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.4121, allocations: 0 / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.4128, allocations: 95.77 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.4129, allocations: 19.88 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.413, allocations: 11.92 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.4131, allocations: 4 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.4132, allocations: 15.92 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.4132, allocations: 0 / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.4135, allocations: 103.8 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.4136, allocations: 11.98 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.856e-05/0.4137, allocations: 33.62 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.414, allocations: 107.8 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.414, allocations: 4 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.827e-06/0.414, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.414, allocations: 0 / 0.9027 GB, free: 61.39 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.0007096/0.4148, allocations: 373.5 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.35e-05/0.4149, allocations: 12.03 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.415, allocations: 38.64 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.415, allocations: 4.938 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4152, allocations: 160.4 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.4152, allocations: 4.375 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.4153, allocations: 8.375 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.4155, allocations: 46.19 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4155, allocations: 3.938 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4155, allocations: 3.984 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4156, allocations: 0 / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.241e-05/0.4156, allocations: 8 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.4161, allocations: 249 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/0.4162, allocations: 34.5 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.4163, allocations: 20.92 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.4163, allocations: 4 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.4166, allocations: 59.3 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.4166, allocations: 0 / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0003275/0.417, allocations: 89.66 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.417, allocations: 59.34 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.4171, allocations: 102.1 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4172, allocations: 33.7 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.4172, allocations: 80.14 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.4172, allocations: 19.75 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-06/0.4173, allocations: 0 / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.4173, allocations: 318.8 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.4174, allocations: 12 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.4175, allocations: 44.22 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.33e-05/0.4175, allocations: 56.23 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4176, allocations: 7.938 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001341/0.4177, allocations: 81.45 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4177, allocations: 8 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4178, allocations: 0 / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4178, allocations: 4 kB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4179, allocations: 8 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.4179, allocations: 7.922 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.418, allocations: 11.94 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.418, allocations: 4 kB / 0.9046 GB, free: 59.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.4181, allocations: 113.9 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.4181, allocations: 11.91 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.4182, allocations: 3.969 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4182, allocations: 0 / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4182, allocations: 0 / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4182, allocations: 0 / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.4185, allocations: 314.5 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4185, allocations: 0 / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.4186, allocations: 11.98 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4186, allocations: 4 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4186, allocations: 0 / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4186, allocations: 0 / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4186, allocations: 0 / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.4188, allocations: 167.5 kB / 0.9052 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.4188, allocations: 84.95 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.4188, allocations: 4 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.4189, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.4189, allocations: 8 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.4189, allocations: 8.359 kB / 0.9053 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.419, allocations: 83.28 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.419, allocations: 3.938 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003112/0.4193, allocations: 35.94 kB / 0.9054 GB, free: 58.25 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 (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.0007443/0.4201, allocations: 0.7755 MB / 0.9061 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.4202, allocations: 39.92 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4202, allocations: 3.938 kB / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.4203, allocations: 19.94 kB / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.4205, allocations: 3.984 kB / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4216, allocations: 1.309 MB / 0.9075 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.4218, allocations: 0.6887 MB / 0.9081 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.4218, allocations: 3.984 kB / 0.9081 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.4218, allocations: 15.44 kB / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.4218, allocations: 0 / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.4349, allocations: 1.858 MB / 0.91 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.4351, allocations: 252.4 kB / 0.9102 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.061, allocations: 0 / 0.9102 GB, free: 53.27 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)