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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 184.5 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205 MB / 0.6353 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 101.2 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 55.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.322, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003714/0.3258, allocations: 1.582 MB / 0.9838 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3275, allocations: 0.7995 MB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.3276, allocations: 0 / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/0.3277, allocations: 3.938 kB / 0.9845 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.3278, allocations: 11.86 kB / 0.9846 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.3286, allocations: 115.7 kB / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3287, allocations: 79.72 kB / 0.9847 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3289, allocations: 19.98 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.329, allocations: 43.78 kB / 0.9848 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3291, allocations: 31.83 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3292, allocations: 8 kB / 0.9848 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3294, allocations: 87.91 kB / 0.9849 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.3295, allocations: 15.92 kB / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.3295, allocations: 35.84 kB / 0.985 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.3299, allocations: 155.8 kB / 0.9851 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3299, allocations: 4 kB / 0.9851 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3299, allocations: 0 / 0.9851 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3299, allocations: 0 / 0.9851 GB, free: 7.395 MB / 0.7136 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.0009946/0.3309, allocations: 470.5 kB / 0.9856 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.3309, allocations: 12.03 kB / 0.9856 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.331, allocations: 8.844 kB / 0.9856 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3312, allocations: 176.2 kB / 0.9858 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.3313, allocations: 38.27 kB / 0.9858 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.3313, allocations: 12.36 kB / 0.9858 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3316, allocations: 77.72 kB / 0.9859 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3316, allocations: 0 / 0.9859 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3316, allocations: 3.984 kB / 0.9859 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3316, allocations: 7.984 kB / 0.9859 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.3318, allocations: 43.97 kB / 0.9859 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.3325, allocations: 324.6 kB / 0.9862 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3328, allocations: 74.53 kB / 0.9863 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3329, allocations: 36.83 kB / 0.9864 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.3329, allocations: 8 kB / 0.9864 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.3333, allocations: 95.39 kB / 0.9864 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.3333, allocations: 0 / 0.9864 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005074/0.3338, allocations: 173.4 kB / 0.9866 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.3338, allocations: 59.34 kB / 0.9867 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.334, allocations: 135.8 kB / 0.9868 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.334, allocations: 25.7 kB / 0.9868 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.3341, allocations: 100.3 kB / 0.9869 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3341, allocations: 23.66 kB / 0.9869 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.3342, allocations: 33.7 kB / 0.987 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3343, allocations: 326.8 kB / 0.9873 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3345, allocations: 35.97 kB / 0.9873 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.3346, allocations: 73.12 kB / 0.9874 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.3349, allocations: 105.1 kB / 0.9875 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3349, allocations: 0 / 0.9875 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003248/0.3352, allocations: 133.4 kB / 0.9876 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3352, allocations: 10.66 kB / 0.9876 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3353, allocations: 8.062 kB / 0.9876 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3353, allocations: 4 kB / 0.9876 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3354, allocations: 19.97 kB / 0.9877 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3354, allocations: 0 / 0.9877 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.3355, allocations: 11.98 kB / 0.9877 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3356, allocations: 8 kB / 0.9877 GB, free: 4.5 MB / 0.7136 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.0001204/0.3357, allocations: 125.7 kB / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.3357, allocations: 7.906 kB / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.3358, allocations: 12.72 kB / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3358, allocations: 4 kB / 0.9878 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3358, allocations: 3.984 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3358, allocations: 0 / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.3365, allocations: 426.4 kB / 0.9882 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3365, allocations: 0 / 0.9882 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.3366, allocations: 19.98 kB / 0.9883 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3366, allocations: 0.5625 kB / 0.9883 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3366, allocations: 7.984 kB / 0.9883 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3366, allocations: 3.938 kB / 0.9883 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.3367, allocations: 7.922 kB / 0.9883 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.3374, allocations: 0.8213 MB / 0.9891 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.3375, allocations: 85.02 kB / 0.9892 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3375, allocations: 0 / 0.9892 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3377, allocations: 15.98 kB / 0.9892 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.3377, allocations: 11.92 kB / 0.9892 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3378, allocations: 7.984 kB / 0.9892 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.3379, allocations: 99.27 kB / 0.9893 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3379, allocations: 4 kB / 0.9893 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004468/0.3383, allocations: 40 kB / 0.9893 GB, free: 2.668 MB / 0.7136 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.0005252/0.3388, allocations: 162.9 kB / 0.9895 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.3392, allocations: 92.03 kB / 0.9896 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3392, allocations: 3.938 kB / 0.9896 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3394, allocations: 47.91 kB / 0.9896 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.3397, allocations: 22.11 kB / 0.9896 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.3405, allocations: 356.5 kB / 0.99 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3408, allocations: 0.6965 MB / 0.9907 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.015e-05/0.3409, allocations: 16.66 kB / 0.9907 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.341, allocations: 11.44 kB / 0.9907 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of SimCode: time 3.076e-06/0.341, allocations: 0 / 0.9907 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.005226/0.3462, allocations: 1.713 MB / 0.9924 GB, free: 15.51 MB / 0.7292 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)