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 2.434/2.434, allocations: 252 MB / 267.3 MB, free: 10.86 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.001564/0.001564, allocations: 184.5 kB / 327 MB, free: 2.098 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.267/3.267, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.001079/0.001079, allocations: 78.44 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005215, allocations: 9.094 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3461, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001593/0.3477, allocations: 0.9462 MB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3488, allocations: 444.8 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.3488, allocations: 0 / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.3489, allocations: 0 / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.3489, allocations: 0 / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.3495, allocations: 79.8 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.3496, allocations: 23.91 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.3496, allocations: 4 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.3497, allocations: 7.938 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.3497, allocations: 11.98 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.3497, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.35, allocations: 95.91 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.35, allocations: 7.922 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.3501, allocations: 37.69 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.3503, allocations: 99.75 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3503, allocations: 0 / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3503, allocations: 0 / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3503, allocations: 4 kB / 0.9026 GB, free: 61.64 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.0004696/0.3508, allocations: 365.2 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.3509, allocations: 8.031 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.3509, allocations: 34.75 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.351, allocations: 8.828 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.3511, allocations: 164.6 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.3511, allocations: 8.375 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3511, allocations: 384 / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3513, allocations: 42.25 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3513, allocations: 11.88 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3513, allocations: 0 / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3513, allocations: 3.984 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.3514, allocations: 11.94 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.3517, allocations: 245 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3518, allocations: 42.5 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.3519, allocations: 16.86 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3519, allocations: 3.984 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.3521, allocations: 63.42 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.3521, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002399/0.3524, allocations: 73.59 kB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3524, allocations: 55.39 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.3525, allocations: 101.9 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3525, allocations: 29.7 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.3525, allocations: 84.14 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3526, allocations: 11.83 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.3526, allocations: 0 / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.3527, allocations: 318.8 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.3527, allocations: 4 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.285e-05/0.3527, allocations: 39.42 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.3528, allocations: 51.36 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3528, allocations: 3.938 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001227/0.353, allocations: 73.53 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.353, allocations: 8 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.353, allocations: 8 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.353, allocations: 0 / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.3531, allocations: 11.98 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3531, allocations: 3.938 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.3532, allocations: 4 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3532, allocations: 4 kB / 0.9044 GB, free: 59.5 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 ($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 (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 6.859e-05/0.3533, allocations: 117.7 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.3533, allocations: 4 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.3533, allocations: 3.562 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3534, allocations: 4 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3534, allocations: 0 / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3534, allocations: 3.984 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.3536, allocations: 302.4 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3536, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.3537, allocations: 4 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3537, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3537, allocations: 7.984 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3537, allocations: 4.25 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3537, allocations: 4 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.3539, allocations: 159.5 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.3539, allocations: 81.11 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3539, allocations: 4.266 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.354, allocations: 4 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3541, allocations: 4 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3541, allocations: 0 / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.3541, allocations: 91.19 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3541, allocations: 4 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004335/0.3546, allocations: 39.94 kB / 0.9052 GB, free: 58.58 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.0007075/0.3553, allocations: 0.7695 MB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.3555, allocations: 31.92 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3555, allocations: 0 / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.3555, allocations: 15.98 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3558, allocations: 0 / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.357, allocations: 1.293 MB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.3572, allocations: 0.6809 MB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.3572, allocations: 4 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.3572, allocations: 7.438 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.3573, allocations: 0 / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.3724, allocations: 1.78 MB / 0.9097 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.3727, allocations: 250.7 kB / 0.91 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/2.986, allocations: 0 / 0.91 GB, free: 53.74 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)