Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 100.2 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.001572/0.001572, allocations: 177.3 kB / 15.95 MB, free: 216 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.716/1.716, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.802/1.802, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005277, allocations: 11.56 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001963/0.2813, allocations: 1.208 MB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2825, allocations: 0.7533 MB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.2826, allocations: 0 / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.2826, allocations: 3.938 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.2827, allocations: 15.97 kB / 0.789 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.2833, allocations: 103.6 kB / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2834, allocations: 47.92 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2836, allocations: 19.94 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2837, allocations: 31.91 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.2838, allocations: 35.83 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2839, allocations: 4 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.2841, allocations: 67.92 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.2841, allocations: 15.92 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.2842, allocations: 41.64 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.2844, allocations: 112 kB / 0.7895 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2844, allocations: 0 / 0.7895 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2844, allocations: 0 / 0.7895 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.2844, allocations: 4 kB / 0.7895 GB, free: 9.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009242/0.2854, allocations: 462.4 kB / 0.7899 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2854, allocations: 8.031 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.2855, allocations: 11.91 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.2857, allocations: 178.9 kB / 0.7901 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.2858, allocations: 33.7 kB / 0.7902 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.2858, allocations: 11.98 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.2861, allocations: 77.59 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2861, allocations: 3.938 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.2861, allocations: 3.984 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2861, allocations: 4 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.2863, allocations: 51.97 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.287, allocations: 320.7 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.2872, allocations: 78.58 kB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.2872, allocations: 160 / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.2875, allocations: 103.3 kB / 0.7908 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2875, allocations: 0 / 0.7908 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005062/0.288, allocations: 177.5 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.2881, allocations: 59.36 kB / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2883, allocations: 130.1 kB / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.2883, allocations: 29.7 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.2884, allocations: 96.31 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.2884, allocations: 31.64 kB / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.2884, allocations: 0 / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.2886, allocations: 318.8 kB / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2887, allocations: 31.98 kB / 0.7916 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2889, allocations: 76.12 kB / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.2891, allocations: 35.98 kB / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2891, allocations: 0 / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002987/0.2894, allocations: 137.4 kB / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2894, allocations: 15.92 kB / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2894, allocations: 3.984 kB / 0.7919 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2895, allocations: 4 kB / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2896, allocations: 19.92 kB / 0.7919 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.2896, allocations: 3.953 kB / 0.7919 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2897, allocations: 28.39 kB / 0.7919 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2898, allocations: 4 kB / 0.7919 GB, free: 6.75 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001278/0.2899, allocations: 121.8 kB / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.2899, allocations: 7.906 kB / 0.7921 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.29, allocations: 20.64 kB / 0.7921 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.29, allocations: 0 / 0.7921 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.29, allocations: 0 / 0.7921 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.29, allocations: 3.953 kB / 0.7921 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.2907, allocations: 438.4 kB / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2907, allocations: 0 / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.2908, allocations: 11.98 kB / 0.7925 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2908, allocations: 0 / 0.7925 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2908, allocations: 7.984 kB / 0.7925 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2908, allocations: 3.953 kB / 0.7925 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2908, allocations: 4 kB / 0.7925 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.2912, allocations: 227.2 kB / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.2913, allocations: 89 kB / 0.7928 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.2914, allocations: 8 kB / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2915, allocations: 11.98 kB / 0.7929 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.2916, allocations: 15.94 kB / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2916, allocations: 0 / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.33e-05/0.2917, allocations: 110.6 kB / 0.793 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.894e-06/0.2917, allocations: 0 / 0.793 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003541/0.292, allocations: 39.94 kB / 0.793 GB, free: 5.551 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004878/0.2925, allocations: 168.8 kB / 0.7932 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.2929, allocations: 92.06 kB / 0.7933 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2929, allocations: 4.062 kB / 0.7933 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.293, allocations: 51.91 kB / 0.7933 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.2933, allocations: 8 kB / 0.7933 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.2938, allocations: 231 kB / 0.7935 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.2942, allocations: 0.7004 MB / 0.7942 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.946e-05/0.2943, allocations: 8.672 kB / 0.7942 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.2943, allocations: 15.42 kB / 0.7943 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2943, allocations: 0 / 0.7943 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of Templates: time 0.004892/0.2992, allocations: 1.619 MB / 0.7958 GB, free: 2.625 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) Environment - environmentSimulation: