Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001363/0.001363, 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.001603/0.001603, allocations: 197 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 61.81 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4162, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002485/0.4188, allocations: 1.278 MB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.4198, allocations: 468.7 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.4198, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.4199, allocations: 3.938 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.4199, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.4204, allocations: 99.7 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.4205, allocations: 19.98 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.4206, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.4206, allocations: 4 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.4206, allocations: 15.92 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4207, allocations: 8 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.4209, allocations: 99.83 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.4209, allocations: 15.92 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.4209, allocations: 11.92 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4211, allocations: 99.8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4211, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4212, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4212, allocations: 0 / 1.07 GB, free: 8.805 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.0005573/0.4217, allocations: 385.4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4218, allocations: 12.03 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.4218, allocations: 0.9375 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.422, allocations: 164.4 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.422, allocations: 4.312 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.422, allocations: 8.375 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.4221, allocations: 42.23 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4222, allocations: 4.172 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4222, allocations: 3.938 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4222, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.4222, allocations: 8 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.4224, allocations: 165.6 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.948e-05/0.4225, allocations: 34.45 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.4226, allocations: 8.859 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.4226, allocations: 4 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.4228, allocations: 63.48 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.4228, allocations: 4 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002347/0.423, allocations: 73.61 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4231, allocations: 63.34 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.4232, allocations: 97.86 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.4232, allocations: 25.7 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.4233, allocations: 88.12 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.4233, allocations: 19.69 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.4234, allocations: 21.72 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4235, allocations: 326.8 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.4235, allocations: 4 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.4236, allocations: 40.28 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.515e-05/0.4236, allocations: 56.23 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4236, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001136/0.4238, allocations: 77.55 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4238, allocations: 7.938 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4238, allocations: 4 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4238, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.4239, allocations: 8 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4239, allocations: 128 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.424, allocations: 15.91 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.424, allocations: 4 kB / 1.071 GB, free: 6.734 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 9.216e-05/0.4241, allocations: 113.8 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.4241, allocations: 7.938 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.4241, allocations: 7.562 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4241, allocations: 0 / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4241, allocations: 0 / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4241, allocations: 0 / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.4243, allocations: 165.7 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4243, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.4243, allocations: 4 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4244, allocations: 4.438 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4244, allocations: 3.984 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4244, allocations: 160 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4244, allocations: 4 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.4245, allocations: 96.97 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.4246, allocations: 81.09 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.4246, allocations: 7.938 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.4247, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.4247, allocations: 7.938 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.4247, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.4248, allocations: 87.27 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.693e-06/0.4248, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002739/0.425, allocations: 39.94 kB / 1.072 GB, free: 6.02 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.0004083/0.4255, allocations: 167.1 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.4256, allocations: 35.92 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4256, allocations: 4 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.4257, allocations: 11.98 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.4258, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.4262, allocations: 125.1 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.4264, allocations: 0.6809 MB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.4265, allocations: 7.984 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.4265, allocations: 7.438 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.4265, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of Templates: time 0.003953/0.4305, allocations: 1.082 MB / 1.074 GB, free: 3.852 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)