Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007372/0.0007372, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005632/0.005632, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.059/3.059, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 10.5 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4146, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001555/0.4162, allocations: 0.9586 MB / 1.075 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.4172, allocations: 460.8 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.4172, allocations: 0 / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.4173, allocations: 0 / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.628e-05/0.4173, allocations: 0 / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.4177, allocations: 99.72 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.4178, allocations: 19.92 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.4179, allocations: 4 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.4179, allocations: 4 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.118e-05/0.4179, allocations: 11.92 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.4179, allocations: 4 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.4182, allocations: 103.8 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.4182, allocations: 8 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.4182, allocations: 37.62 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.4184, allocations: 91.81 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4184, allocations: 4 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4184, allocations: 0 / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.4185, allocations: 0 / 1.076 GB, free: 5.762 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005204/0.419, allocations: 381.4 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.419, allocations: 12.03 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.4191, allocations: 0.9375 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.4192, allocations: 172.3 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.4192, allocations: 4.375 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.4193, allocations: 4.375 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.4194, allocations: 42.23 kB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4194, allocations: 192 / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4194, allocations: 3.938 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4194, allocations: 0 / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.4194, allocations: 7.938 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.4196, allocations: 165.6 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/0.4197, allocations: 30.52 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.4198, allocations: 16.86 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4198, allocations: 96 / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.4199, allocations: 55.39 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4199, allocations: 0 / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002086/0.4202, allocations: 73.55 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.4202, allocations: 55.41 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.4203, allocations: 105.8 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4203, allocations: 29.7 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.4204, allocations: 84.14 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.4204, allocations: 11.84 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.4204, allocations: 13.72 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4206, allocations: 318.8 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.4206, allocations: 8 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.4206, allocations: 35.42 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.879e-05/0.4207, allocations: 47.38 kB / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4207, allocations: 0 / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001154/0.4208, allocations: 69.72 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4209, allocations: 15.86 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4209, allocations: 48 / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4209, allocations: 12.08 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.421, allocations: 11.94 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.421, allocations: 4 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.421, allocations: 0 / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.421, allocations: 4 kB / 1.078 GB, free: 3.746 MB / 0.8262 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 (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 (7): * Single equations (assignments): 7 * 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.0001041/0.4211, allocations: 105.8 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.4212, allocations: 15.84 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.4212, allocations: 7.891 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4212, allocations: 0 / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4212, allocations: 4 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4212, allocations: 0 / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4214, allocations: 161.7 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4214, allocations: 0 / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.4214, allocations: 0 / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4214, allocations: 3.938 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.4214, allocations: 4 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4214, allocations: 4.234 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4214, allocations: 3.938 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.4216, allocations: 81.16 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.4216, allocations: 85.11 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4216, allocations: 11.86 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.4217, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.4217, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4217, allocations: 4 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.4218, allocations: 87.27 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4218, allocations: 0 / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002582/0.422, allocations: 36 kB / 1.078 GB, free: 3.039 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 (4): * Single equations (assignments): 2 * 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.0003561/0.4224, allocations: 166.6 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.4225, allocations: 35.91 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4225, allocations: 0 / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/0.4226, allocations: 15.98 kB / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.4227, allocations: 1.906 kB / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.423, allocations: 132.4 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4233, allocations: 0.677 MB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.4233, allocations: 7.984 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.4233, allocations: 7.438 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4233, allocations: 0 / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of Templates: time 0.003439/0.4268, allocations: 1.05 MB / 1.08 GB, free: 0.9102 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)