Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 189.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001967, allocations: 61.78 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002731/0.4077, allocations: 1.288 MB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.4088, allocations: 460.7 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.4088, allocations: 3.938 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.4089, allocations: 4 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/0.4089, allocations: 3.938 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.4095, allocations: 91.77 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.4096, allocations: 16 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.4096, allocations: 7.984 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.4096, allocations: 7.984 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.4097, allocations: 15.92 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.4097, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.41, allocations: 107.8 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.41, allocations: 7.938 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.4101, allocations: 7.938 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.4103, allocations: 99.8 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4103, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4103, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4103, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 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.0006214/0.4109, allocations: 381.4 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.411, allocations: 16.02 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.411, allocations: 0.9375 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4112, allocations: 172.3 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.4112, allocations: 384 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.4112, allocations: 4.375 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.4114, allocations: 42.23 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4114, allocations: 4.188 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4114, allocations: 7.922 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4114, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.4115, allocations: 4 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.4117, allocations: 157.6 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.805e-05/0.4118, allocations: 30.55 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.4118, allocations: 16.86 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.4119, allocations: 4 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.4121, allocations: 59.48 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4121, allocations: 0 / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002727/0.4124, allocations: 77.56 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.4124, allocations: 55.39 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4125, allocations: 101.9 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4126, allocations: 25.7 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.4126, allocations: 96.06 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.4127, allocations: 19.73 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.4128, allocations: 21.66 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.413, allocations: 326.8 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.413, allocations: 4 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/0.4131, allocations: 40.28 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.913e-05/0.4132, allocations: 56.23 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4132, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.4133, allocations: 70.06 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.4133, allocations: 16.06 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.4134, allocations: 3.984 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4134, allocations: 4 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.4135, allocations: 12 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4135, allocations: 7.938 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.4136, allocations: 3.906 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4136, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * 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 0.0001126/0.4137, allocations: 113.8 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.4137, allocations: 3.938 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.4138, allocations: 15.55 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4138, allocations: 0 / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4138, allocations: 0 / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4138, allocations: 0 / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.414, allocations: 153.7 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.414, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.414, allocations: 4 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.414, allocations: 3.938 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.414, allocations: 7.984 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.414, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4141, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.4142, allocations: 96.97 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.4143, allocations: 77.11 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.4143, allocations: 11.92 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.4144, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.4144, allocations: 4.031 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.4144, allocations: 8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.4145, allocations: 79.28 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4145, allocations: 7.938 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002863/0.4148, allocations: 39.98 kB / 1.072 GB, free: 6.074 MB / 0.8262 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,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.0005019/0.4153, allocations: 165.9 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.4154, allocations: 35.92 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.4154, allocations: 4.25 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.4155, allocations: 23.92 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.4157, allocations: 1.969 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.416, allocations: 118.7 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.4164, allocations: 0.6841 MB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.4165, allocations: 0 / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.4165, allocations: 15.44 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of SimCode: time 1.914e-06/0.4165, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.004456/0.421, allocations: 1.081 MB / 1.074 GB, free: 3.898 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)