Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.3 MB / 308.1 MB, free: 4.32 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.001689/0.001688, allocations: 194.2 kB / 376.9 MB, free: 1.832 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.714/1.714, allocations: 205 MB / 0.6353 GB, free: 9.816 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.001241/0.001241, allocations: 99.7 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 55.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.005031/0.3225, allocations: 1.573 MB / 0.9838 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3245, allocations: 0.7917 MB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.3246, allocations: 3.938 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.3247, allocations: 7.922 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.3249, allocations: 11.86 kB / 0.9845 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.3256, allocations: 111.8 kB / 0.9847 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3258, allocations: 79.77 kB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3259, allocations: 8 kB / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.3261, allocations: 43.77 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.3262, allocations: 35.84 kB / 0.9848 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3262, allocations: 4 kB / 0.9848 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.3265, allocations: 91.84 kB / 0.9849 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.3265, allocations: 19.97 kB / 0.9849 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.3266, allocations: 35.8 kB / 0.985 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.3269, allocations: 139.9 kB / 0.9851 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3269, allocations: 0 / 0.9851 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3269, allocations: 0 / 0.9851 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.327, allocations: 0 / 0.9851 GB, free: 7.449 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.0009148/0.3279, allocations: 458.6 kB / 0.9855 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3279, allocations: 12.03 kB / 0.9855 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.328, allocations: 8.844 kB / 0.9855 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.3282, allocations: 180.2 kB / 0.9857 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3282, allocations: 12.31 kB / 0.9857 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3282, allocations: 4.375 kB / 0.9857 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3285, allocations: 77.95 kB / 0.9858 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3285, allocations: 3.938 kB / 0.9858 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3285, allocations: 0 / 0.9858 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3285, allocations: 0 / 0.9858 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3287, allocations: 47.97 kB / 0.9859 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.3293, allocations: 316.7 kB / 0.9862 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.3295, allocations: 62.55 kB / 0.9862 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.3296, allocations: 32.84 kB / 0.9863 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3296, allocations: 4 kB / 0.9863 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.3299, allocations: 99.3 kB / 0.9864 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.33, allocations: 0 / 0.9864 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004443/0.3304, allocations: 161.4 kB / 0.9865 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.3305, allocations: 55.41 kB / 0.9866 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3306, allocations: 125.8 kB / 0.9867 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.3307, allocations: 33.7 kB / 0.9867 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3307, allocations: 88.38 kB / 0.9868 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.3308, allocations: 27.84 kB / 0.9868 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.3309, allocations: 33.7 kB / 0.9869 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.331, allocations: 322.8 kB / 0.9872 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.3311, allocations: 27.98 kB / 0.9872 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3313, allocations: 73.14 kB / 0.9873 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3315, allocations: 105 kB / 0.9874 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3315, allocations: 4 kB / 0.9874 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002563/0.3318, allocations: 129.4 kB / 0.9875 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3318, allocations: 8 kB / 0.9875 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3318, allocations: 0 / 0.9875 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3318, allocations: 4 kB / 0.9875 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3319, allocations: 11.98 kB / 0.9875 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.332, allocations: 4 kB / 0.9875 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3321, allocations: 23.98 kB / 0.9875 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3321, allocations: 8 kB / 0.9875 GB, free: 4.664 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.0001237/0.3322, allocations: 120.4 kB / 0.9877 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.3322, allocations: 7.906 kB / 0.9877 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.3326, allocations: 153.8 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-06/0.3326, allocations: 4 kB / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3326, allocations: 0 / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3326, allocations: 3.984 kB / 0.9878 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.3333, allocations: 422.4 kB / 0.9882 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3333, allocations: 0 / 0.9882 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.3333, allocations: 15.92 kB / 0.9882 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3334, allocations: 0 / 0.9882 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3334, allocations: 4 kB / 0.9882 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3334, allocations: 0 / 0.9882 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.3334, allocations: 3.938 kB / 0.9882 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.3341, allocations: 0.814 MB / 0.989 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.3342, allocations: 96.83 kB / 0.9891 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3342, allocations: 0 / 0.9891 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3344, allocations: 11.98 kB / 0.9891 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.3344, allocations: 11.92 kB / 0.9892 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3345, allocations: 8 kB / 0.9892 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.928e-05/0.3345, allocations: 103.2 kB / 0.9893 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3345, allocations: 0 / 0.9893 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004525/0.335, allocations: 40 kB / 0.9893 GB, free: 2.715 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 (12): * Single equations (assignments): 9 * 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.0003922/0.3354, allocations: 170.5 kB / 0.9895 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.3357, allocations: 87.83 kB / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3357, allocations: 0 / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3358, allocations: 39.98 kB / 0.9896 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3361, allocations: 19.86 kB / 0.9896 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.3368, allocations: 384.4 kB / 0.99 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3371, allocations: 0.6926 MB / 0.9906 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.684e-05/0.3371, allocations: 16.42 kB / 0.9907 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.3372, allocations: 11.44 kB / 0.9907 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.3372, allocations: 0 / 0.9907 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.005248/0.3424, allocations: 1.723 MB / 0.9924 GB, free: 15.53 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)