Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001708/0.001708, allocations: 192.5 kB / 376.9 MB, free: 1.801 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.751/1.751, allocations: 205 MB / 0.6353 GB, free: 9.789 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.001076/0.001075, allocations: 98.77 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.84 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3059, allocations: 114.6 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003663/0.3096, allocations: 1.592 MB / 0.9838 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3114, allocations: 0.8111 MB / 0.9846 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.842e-05/0.3115, allocations: 4 kB / 0.9846 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.3116, allocations: 3.938 kB / 0.9846 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.3117, allocations: 11.88 kB / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.3124, allocations: 111.8 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.3126, allocations: 95.69 kB / 0.9848 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3128, allocations: 12 kB / 0.9848 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3129, allocations: 35.84 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.313, allocations: 55.69 kB / 0.9849 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.3131, allocations: 8 kB / 0.9849 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.3133, allocations: 95.84 kB / 0.985 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.3134, allocations: 15.92 kB / 0.985 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.3134, allocations: 43.78 kB / 0.985 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.3138, allocations: 155.8 kB / 0.9852 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3138, allocations: 0 / 0.9852 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3138, allocations: 0 / 0.9852 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3138, allocations: 4 kB / 0.9852 GB, free: 7.324 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009713/0.3148, allocations: 0.4962 MB / 0.9857 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3148, allocations: 12.03 kB / 0.9857 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.3149, allocations: 8.844 kB / 0.9857 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3151, allocations: 188.1 kB / 0.9859 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3152, allocations: 384 / 0.9859 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.3152, allocations: 4.375 kB / 0.9859 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.3154, allocations: 93.88 kB / 0.986 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3155, allocations: 4 kB / 0.986 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3155, allocations: 0 / 0.986 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3155, allocations: 3.984 kB / 0.986 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.3157, allocations: 51.97 kB / 0.986 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.3164, allocations: 336.7 kB / 0.9864 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.3167, allocations: 82.67 kB / 0.9864 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.681e-05/0.3168, allocations: 40.83 kB / 0.9865 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3168, allocations: 7.938 kB / 0.9865 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.3171, allocations: 91.39 kB / 0.9866 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/0.3171, allocations: 0 / 0.9866 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004839/0.3176, allocations: 177.4 kB / 0.9867 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.3177, allocations: 59.39 kB / 0.9868 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3178, allocations: 147.9 kB / 0.9869 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.3178, allocations: 29.7 kB / 0.987 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.3179, allocations: 96.12 kB / 0.9871 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.318, allocations: 27.61 kB / 0.9871 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.318, allocations: 37.7 kB / 0.9871 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3182, allocations: 322.8 kB / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.3183, allocations: 27.98 kB / 0.9875 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3184, allocations: 79.25 kB / 0.9875 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.3186, allocations: 113 kB / 0.9876 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3186, allocations: 0 / 0.9876 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003002/0.3189, allocations: 137.4 kB / 0.9878 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.319, allocations: 4 kB / 0.9878 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.319, allocations: 0 / 0.9878 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.319, allocations: 4 kB / 0.9878 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3191, allocations: 19.92 kB / 0.9878 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3191, allocations: 0 / 0.9878 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3193, allocations: 20.08 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3193, allocations: 4 kB / 0.9878 GB, free: 4.367 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001192/0.3194, allocations: 125.8 kB / 0.9879 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3194, allocations: 11.95 kB / 0.9879 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.3198, allocations: 178.2 kB / 0.9881 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3198, allocations: 0 / 0.9881 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3198, allocations: 0 / 0.9881 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3199, allocations: 4 kB / 0.9881 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006796/0.3205, allocations: 466.2 kB / 0.9886 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3206, allocations: 0 / 0.9886 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/0.3206, allocations: 15.98 kB / 0.9886 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3207, allocations: 0 / 0.9886 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3207, allocations: 4 kB / 0.9886 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3207, allocations: 3.984 kB / 0.9886 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3207, allocations: 7.938 kB / 0.9886 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.3214, allocations: 0.8453 MB / 0.9894 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.3215, allocations: 88.95 kB / 0.9895 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.3215, allocations: 8 kB / 0.9895 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3217, allocations: 15.92 kB / 0.9895 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.3217, allocations: 15.98 kB / 0.9895 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3218, allocations: 11.98 kB / 0.9896 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.737e-05/0.3218, allocations: 105.2 kB / 0.9897 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3219, allocations: 0 / 0.9897 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004255/0.3223, allocations: 43.98 kB / 0.9897 GB, free: 2.289 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0004056/0.3227, allocations: 169.1 kB / 0.9899 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.323, allocations: 91.89 kB / 0.9899 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.323, allocations: 0 / 0.9899 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3231, allocations: 59.92 kB / 0.99 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3235, allocations: 27.86 kB / 0.99 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.3241, allocations: 404.5 kB / 0.9904 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3244, allocations: 0.7083 MB / 0.9911 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.198e-05/0.3245, allocations: 12.81 kB / 0.9911 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.3245, allocations: 15.44 kB / 0.9911 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.3246, allocations: 0 / 0.9911 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of Templates: time 0.005292/0.3298, allocations: 1.93 MB / 0.993 GB, free: 14.83 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)