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.001301/0.001301, allocations: 105.1 kB / 15.99 MB, free: 6.355 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.001405/0.001405, allocations: 196.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.8 MB, free: 4.723 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.681/1.681, allocations: 292.3 MB / 0.5492 GB, free: 13.57 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.001435/0.001435, allocations: 71.44 kB / 0.6717 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2188, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00303/0.2219, allocations: 1.577 MB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2233, allocations: 0.7877 MB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.2234, allocations: 0 / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/0.2234, allocations: 7.938 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.799e-05/0.2235, allocations: 11.92 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.224, allocations: 111.8 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2242, allocations: 91.64 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.2243, allocations: 11.98 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.2244, allocations: 35.92 kB / 0.7861 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.2244, allocations: 39.83 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2245, allocations: 8 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.2247, allocations: 99.84 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.2247, allocations: 23.91 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.2248, allocations: 39.78 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2249, allocations: 112 kB / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2249, allocations: 0 / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.225, allocations: 0 / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.225, allocations: 0 / 0.7864 GB, free: 10.93 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.000832/0.2258, allocations: 482.4 kB / 0.7869 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2258, allocations: 12.03 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.2259, allocations: 8.844 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.2261, allocations: 176.2 kB / 0.787 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-05/0.2262, allocations: 46.19 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2262, allocations: 4.375 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.2264, allocations: 81.77 kB / 0.7872 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2264, allocations: 0 / 0.7872 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2265, allocations: 0 / 0.7872 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2265, allocations: 4 kB / 0.7872 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.2267, allocations: 47.95 kB / 0.7872 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.2272, allocations: 324.6 kB / 0.7875 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2275, allocations: 74.52 kB / 0.7876 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2276, allocations: 36.84 kB / 0.7876 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2276, allocations: 3.938 kB / 0.7876 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.2279, allocations: 107.4 kB / 0.7877 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2279, allocations: 0 / 0.7877 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004777/0.2284, allocations: 169.5 kB / 0.7879 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.2285, allocations: 51.41 kB / 0.7879 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.2287, allocations: 134.1 kB / 0.7881 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2287, allocations: 29.7 kB / 0.7881 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.2288, allocations: 96.28 kB / 0.7882 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.2288, allocations: 23.73 kB / 0.7882 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.2289, allocations: 33.7 kB / 0.7882 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.229, allocations: 322.8 kB / 0.7886 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.2291, allocations: 27.97 kB / 0.7886 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.2292, allocations: 73.12 kB / 0.7887 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.2295, allocations: 105 kB / 0.7888 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2295, allocations: 4 kB / 0.7888 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002889/0.2298, allocations: 137.3 kB / 0.7889 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2298, allocations: 8 kB / 0.7889 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2298, allocations: 0 / 0.7889 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2298, allocations: 4 kB / 0.7889 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.23, allocations: 15.98 kB / 0.7889 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.23, allocations: 4.125 kB / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2301, allocations: 19.92 kB / 0.7889 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2301, allocations: 7.938 kB / 0.7889 GB, free: 8.027 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.2302, allocations: 128.7 kB / 0.7891 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.2302, allocations: 11.89 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.2303, allocations: 12.8 kB / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.2303, allocations: 4 kB / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2303, allocations: 0 / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2303, allocations: 4.375 kB / 0.7891 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.2309, allocations: 434.3 kB / 0.7895 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2309, allocations: 0 / 0.7895 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.231, allocations: 15.92 kB / 0.7895 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.231, allocations: 0 / 0.7895 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.231, allocations: 4 kB / 0.7895 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2311, allocations: 7.938 kB / 0.7895 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2311, allocations: 0 / 0.7895 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.2314, allocations: 227.3 kB / 0.7898 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.2314, allocations: 81.02 kB / 0.7898 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.2315, allocations: 8 kB / 0.7898 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2316, allocations: 11.92 kB / 0.7899 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.2317, allocations: 11.98 kB / 0.7899 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2317, allocations: 8 kB / 0.7899 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.671e-05/0.2317, allocations: 102.1 kB / 0.79 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2318, allocations: 4 kB / 0.79 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003089/0.2321, allocations: 36 kB / 0.79 GB, free: 6.84 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 (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.0004095/0.2325, allocations: 166.9 kB / 0.7902 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.2328, allocations: 95.81 kB / 0.7903 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2328, allocations: 0 / 0.7903 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.2329, allocations: 47.91 kB / 0.7903 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.2333, allocations: 20.23 kB / 0.7903 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.2338, allocations: 261.3 kB / 0.7906 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.2341, allocations: 0.6924 MB / 0.7912 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.2342, allocations: 19.42 kB / 0.7913 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2342, allocations: 0 / 0.7913 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.004346/0.2385, allocations: 1.872 MB / 0.7931 GB, free: 3.637 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (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)