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.0008861/0.0008861, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008782/0.0008782, allocations: 172.7 kB / 15.95 MB, free: 208 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.392/1.392, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.59/1.59, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005718/0.0005719, allocations: 15.44 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2236, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001688/0.2254, allocations: 1.223 MB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2266, allocations: 0.7377 MB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.2267, allocations: 0 / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.2267, allocations: 7.938 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.2268, allocations: 7.938 kB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.2272, allocations: 99.75 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2274, allocations: 83.69 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.2274, allocations: 8 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.2275, allocations: 31.86 kB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.2276, allocations: 43.81 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2276, allocations: 4 kB / 0.7895 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.2278, allocations: 83.92 kB / 0.7896 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.2279, allocations: 15.91 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.2279, allocations: 45.58 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2281, allocations: 104 kB / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2281, allocations: 0 / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2281, allocations: 0 / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2281, allocations: 0 / 0.7897 GB, free: 9.426 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.0006494/0.2287, allocations: 466.5 kB / 0.7902 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2288, allocations: 8.031 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.2288, allocations: 11.91 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.229, allocations: 182.8 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.229, allocations: 33.7 kB / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2291, allocations: 8 kB / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2293, allocations: 89.52 kB / 0.7905 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2293, allocations: 0 / 0.7905 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2293, allocations: 0 / 0.7905 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2293, allocations: 3.984 kB / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.2295, allocations: 47.97 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.23, allocations: 332.6 kB / 0.7908 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2302, allocations: 66.55 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.2303, allocations: 44.83 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2303, allocations: 0 / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.2305, allocations: 107.5 kB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.775e-06/0.2305, allocations: 0 / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004257/0.231, allocations: 177.4 kB / 0.7912 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.231, allocations: 59.36 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2311, allocations: 133.1 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2312, allocations: 25.7 kB / 0.7914 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.2312, allocations: 96.36 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.2313, allocations: 27.66 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.2313, allocations: 0 / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2314, allocations: 322.8 kB / 0.7919 GB, free: 7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.2315, allocations: 27.98 kB / 0.7919 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2316, allocations: 77.12 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.2317, allocations: 39.91 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2317, allocations: 0 / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002803/0.232, allocations: 145.8 kB / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2321, allocations: 4 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2321, allocations: 0 / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2321, allocations: 4 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2322, allocations: 19.92 kB / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2322, allocations: 7.953 kB / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2323, allocations: 20.02 kB / 0.7922 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2323, allocations: 4 kB / 0.7922 GB, free: 6.633 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 9.125e-05/0.2324, allocations: 133.8 kB / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.2325, allocations: 7.906 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.2325, allocations: 8.719 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2325, allocations: 4 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2325, allocations: 0 / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2325, allocations: 3.953 kB / 0.7923 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.2331, allocations: 434.3 kB / 0.7928 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2331, allocations: 0 / 0.7928 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.2332, allocations: 11.98 kB / 0.7928 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2332, allocations: 4 kB / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2332, allocations: 15.89 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2332, allocations: 0 / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2332, allocations: 0 / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.2335, allocations: 235.2 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.2336, allocations: 81.02 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.2336, allocations: 8 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2337, allocations: 23.88 kB / 0.7931 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.2338, allocations: 11.98 kB / 0.7931 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2338, allocations: 7.984 kB / 0.7931 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.329e-05/0.2339, allocations: 99.27 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2339, allocations: 0 / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000283/0.2342, allocations: 40 kB / 0.7933 GB, free: 5.422 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.0003113/0.2345, allocations: 167.4 kB / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.2348, allocations: 88.02 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2348, allocations: 8.062 kB / 0.7935 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.2349, allocations: 47.97 kB / 0.7936 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2352, allocations: 11.98 kB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.2356, allocations: 231 kB / 0.7938 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.2358, allocations: 0.6965 MB / 0.7945 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.474e-05/0.2359, allocations: 16.84 kB / 0.7945 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.2359, allocations: 11.44 kB / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.236, allocations: 0 / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of Templates: time 0.004041/0.24, allocations: 1.621 MB / 0.7961 GB, free: 2.496 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: