Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001185, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001264/0.001264, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005275/0.0005275, allocations: 18.09 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2679, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001285/0.2692, allocations: 0.9453 MB / 0.788 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.2699, allocations: 386.7 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.27, allocations: 3.938 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.27, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.2701, allocations: 7.984 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.2705, allocations: 79.72 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.2705, allocations: 11.92 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.2706, allocations: 4 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.2706, allocations: 8 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.2707, allocations: 11.97 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2707, allocations: 4 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.2708, allocations: 71.88 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.2709, allocations: 3.984 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.2709, allocations: 29.7 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.271, allocations: 63.91 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.271, allocations: 0 / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.143e-06/0.271, allocations: 0 / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2711, allocations: 0 / 0.7887 GB, free: 10.36 MB / 0.6075 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.0004505/0.2715, allocations: 385.2 kB / 0.789 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2716, allocations: 12.03 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.2716, allocations: 0 / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2717, allocations: 167 kB / 0.7892 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2718, allocations: 4 kB / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.2718, allocations: 3.984 kB / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.2719, allocations: 37.67 kB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2719, allocations: 0 / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2719, allocations: 8 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2719, allocations: 0 / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.272, allocations: 4 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.2721, allocations: 161.6 kB / 0.7894 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.2722, allocations: 34.55 kB / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.2722, allocations: 0 / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.2724, allocations: 55.48 kB / 0.7895 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2724, allocations: 0 / 0.7895 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001969/0.2726, allocations: 73.53 kB / 0.7896 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.2726, allocations: 55.39 kB / 0.7896 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.2727, allocations: 97.86 kB / 0.7897 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2727, allocations: 29.7 kB / 0.7898 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.2728, allocations: 80.14 kB / 0.7898 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.2728, allocations: 11.89 kB / 0.7898 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2728, allocations: 0 / 0.7898 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2729, allocations: 318.8 kB / 0.7901 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.273, allocations: 12 kB / 0.7902 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.273, allocations: 31.41 kB / 0.7902 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.273, allocations: 12 kB / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.273, allocations: 3.938 kB / 0.7902 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001059/0.2732, allocations: 73.52 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2732, allocations: 8.094 kB / 0.7903 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2732, allocations: 0 / 0.7903 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2732, allocations: 4 kB / 0.7903 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.2733, allocations: 7.984 kB / 0.7903 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2733, allocations: 4 kB / 0.7903 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.2733, allocations: 11.84 kB / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.2733, allocations: 4 kB / 0.7903 GB, free: 8.445 MB / 0.6075 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.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/0.2734, allocations: 109.8 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.2734, allocations: 7.891 kB / 0.7904 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.2735, allocations: 11.5 kB / 0.7904 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2735, allocations: 0 / 0.7904 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2735, allocations: 3.984 kB / 0.7904 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.2735, allocations: 4.422 kB / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2736, allocations: 149.7 kB / 0.7906 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2736, allocations: 0 / 0.7906 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.2737, allocations: 0 / 0.7906 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.2737, allocations: 3.953 kB / 0.7906 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2737, allocations: 8 kB / 0.7906 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2737, allocations: 0 / 0.7906 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2737, allocations: 4 kB / 0.7906 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2738, allocations: 85.09 kB / 0.7907 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.2739, allocations: 81.02 kB / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.2739, allocations: 7.953 kB / 0.7908 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.2739, allocations: 4 kB / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.274, allocations: 3.984 kB / 0.7908 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.274, allocations: 0 / 0.7908 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.274, allocations: 83.22 kB / 0.7909 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.274, allocations: 4 kB / 0.7909 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002518/0.2743, allocations: 35.98 kB / 0.7909 GB, free: 7.746 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003854/0.2747, allocations: 162.8 kB / 0.791 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.2748, allocations: 27.92 kB / 0.7911 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2748, allocations: 4.188 kB / 0.7911 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.2749, allocations: 8 kB / 0.7911 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.275, allocations: 4 kB / 0.7911 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.2753, allocations: 116.6 kB / 0.7912 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.2757, allocations: 0.6848 MB / 0.7919 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.2757, allocations: 0 / 0.7919 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.2758, allocations: 11.44 kB / 0.7919 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2758, allocations: 4 kB / 0.7919 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of Templates: time 0.004136/0.2799, allocations: 0.9917 MB / 0.7929 GB, free: 5.691 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) Environment - environmentSimulation: