Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.903/2.903, allocations: 287.5 MB / 302.4 MB, free: 8.199 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.001299/0.001299, allocations: 187.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.0009091, allocations: 96.47 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005196, allocations: 10.34 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00195/0.2392, allocations: 1.207 MB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2408, allocations: 0.7502 MB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.2409, allocations: 0 / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.2409, allocations: 11.92 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.241, allocations: 7.875 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.2416, allocations: 91.77 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2417, allocations: 79.77 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.2418, allocations: 11.98 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2419, allocations: 35.84 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.242, allocations: 35.84 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.242, allocations: 4 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.2423, allocations: 83.91 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.2423, allocations: 19.91 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.2424, allocations: 33.64 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.2426, allocations: 104 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2426, allocations: 0 / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2426, allocations: 3.938 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2426, allocations: 0 / 0.9809 GB, free: 25.78 MB / 0.6198 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.0007727/0.2434, allocations: 454.5 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2435, allocations: 12.02 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.2435, allocations: 38.56 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.2436, allocations: 15.84 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2437, allocations: 172.6 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2437, allocations: 8 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.2438, allocations: 4 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.244, allocations: 77.58 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.244, allocations: 0 / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.244, allocations: 0 / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2441, allocations: 0 / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.2443, allocations: 55.95 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.2449, allocations: 320.7 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2451, allocations: 74.53 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2452, allocations: 32.84 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.2453, allocations: 0 / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.2456, allocations: 103.5 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.954e-06/0.2456, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005529/0.2461, allocations: 165.4 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2462, allocations: 59.39 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2463, allocations: 129.7 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2464, allocations: 33.7 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.2464, allocations: 88.36 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.2465, allocations: 19.72 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.2465, allocations: 8 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.2466, allocations: 318.8 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.2467, allocations: 27.98 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.2468, allocations: 74.69 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.247, allocations: 32 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.247, allocations: 0 / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003409/0.2473, allocations: 137.4 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2474, allocations: 8.125 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2474, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2474, allocations: 4 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2476, allocations: 23.94 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2476, allocations: 4 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.2478, allocations: 15.92 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.2478, allocations: 4 kB / 0.9833 GB, free: 23.05 MB / 0.6198 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 0.0001018/0.2479, allocations: 129.8 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.248, allocations: 7.891 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.2484, allocations: 146 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2484, allocations: 4 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2485, allocations: 3.953 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2485, allocations: 0 / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007268/0.2492, allocations: 442.3 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2492, allocations: 0 / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.2494, allocations: 15.98 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.2494, allocations: 0 / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2494, allocations: 15.89 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2494, allocations: 4.375 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2494, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.2498, allocations: 227.3 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.2499, allocations: 85.02 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.2499, allocations: 7.938 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2501, allocations: 19.94 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.2502, allocations: 8.078 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.2502, allocations: 15.97 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.498e-05/0.2503, allocations: 100.4 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2503, allocations: 0 / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000416/0.2507, allocations: 40 kB / 0.9845 GB, free: 21.71 MB / 0.6198 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 (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.0009163/0.2517, allocations: 0.8165 MB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.252, allocations: 87.95 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.252, allocations: 0 / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.2522, allocations: 43.92 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.2526, allocations: 23.94 kB / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.2541, allocations: 0.6692 MB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.2543, allocations: 0.6926 MB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.859e-05/0.2544, allocations: 16.42 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.2545, allocations: 27.42 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2545, allocations: 3.938 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2777, allocations: 2.726 MB / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.278, allocations: 244.1 kB / 0.9897 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/2.986, allocations: 3.312 kB / 0.9897 GB, free: 16.41 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)