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/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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001122/0.001122, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.503/1.503, allocations: 205.1 MB / 222 MB, free: 4.754 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.695/1.695, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001361/0.001361, allocations: 71.39 kB / 0.6709 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2143, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002439/0.2168, allocations: 1.585 MB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.218, allocations: 0.7839 MB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.218, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.2181, allocations: 3.938 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.2182, allocations: 15.92 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.2186, allocations: 107.8 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.4e-05/0.2187, allocations: 79.7 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.787e-05/0.2188, allocations: 19.92 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.2189, allocations: 31.86 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.2189, allocations: 39.81 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.219, allocations: 4 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2191, allocations: 99.84 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.2192, allocations: 15.92 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.2192, allocations: 27.86 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.2194, allocations: 147.8 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2194, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2194, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.2195, allocations: 4 kB / 0.7857 GB, free: 10.95 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.0006551/0.2201, allocations: 466.5 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2202, allocations: 12.03 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.2202, allocations: 30.75 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.2202, allocations: 8.844 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2204, allocations: 176.2 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2204, allocations: 8.375 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.2204, allocations: 4.375 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.2206, allocations: 77.77 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2206, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2206, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2206, allocations: 4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2208, allocations: 47.91 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.2212, allocations: 312.7 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2214, allocations: 66.55 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.2215, allocations: 32.84 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2215, allocations: 4 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.2217, allocations: 95.53 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.2217, allocations: 0 / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003885/0.2221, allocations: 161.4 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2222, allocations: 59.41 kB / 0.7872 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.2223, allocations: 129.7 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2223, allocations: 33.7 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.2223, allocations: 84.38 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.2224, allocations: 23.7 kB / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.2224, allocations: 33.7 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.2225, allocations: 326.7 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.2226, allocations: 27.98 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.2227, allocations: 73.06 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2229, allocations: 97.08 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2229, allocations: 0 / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.2231, allocations: 137.5 kB / 0.7881 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2231, allocations: 4 kB / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2231, allocations: 0 / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2232, allocations: 4 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.2233, allocations: 15.98 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2233, allocations: 8.062 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2234, allocations: 19.92 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2234, allocations: 4 kB / 0.7881 GB, free: 8.133 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 8.193e-05/0.2235, allocations: 117.8 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.2235, allocations: 7.906 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.2238, allocations: 145.9 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2238, allocations: 4 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2239, allocations: 11.92 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2239, allocations: 0 / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.2244, allocations: 430.2 kB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2244, allocations: 4 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.2245, allocations: 11.98 kB / 0.7888 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2245, allocations: 0 / 0.7888 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2245, allocations: 4 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2245, allocations: 7.938 kB / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2245, allocations: 0 / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.2248, allocations: 227.3 kB / 0.7891 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.2249, allocations: 85.02 kB / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2249, allocations: 384 / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.225, allocations: 11.92 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.2251, allocations: 19.92 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.2251, allocations: 8 kB / 0.7892 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.2252, allocations: 106.8 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2252, allocations: 4 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002972/0.2255, allocations: 39.98 kB / 0.7893 GB, free: 6.809 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 (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.0007194/0.2262, allocations: 0.8071 MB / 0.7901 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.2264, allocations: 87.86 kB / 0.7902 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2264, allocations: 4 kB / 0.7902 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.2265, allocations: 47.92 kB / 0.7903 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2268, allocations: 20.17 kB / 0.7903 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2284, allocations: 1.62 MB / 0.7919 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.2287, allocations: 0.6965 MB / 0.7925 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.733e-05/0.2287, allocations: 8.375 kB / 0.7926 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.2288, allocations: 27.42 kB / 0.7926 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/0.2288, allocations: 0 / 0.7926 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.2406, allocations: 2.832 MB / 0.7953 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.2408, allocations: 246.4 kB / 0.7956 GB, free: 400 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.868, allocations: 0 / 0.7956 GB, free: 400 kB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)