Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.305/2.305, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 179.5 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.579/2.579, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 96.34 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004503, allocations: 11.62 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1946, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001796/0.1965, allocations: 1.223 MB / 0.9007 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.198, allocations: 0.757 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.1981, allocations: 3.938 kB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.1981, allocations: 3.938 kB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.858e-05/0.1982, allocations: 11.92 kB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.1987, allocations: 95.77 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1989, allocations: 83.7 kB / 0.9016 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.199, allocations: 11.98 kB / 0.9016 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1991, allocations: 35.86 kB / 0.9017 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.1992, allocations: 35.83 kB / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1992, allocations: 4 kB / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.1994, allocations: 83.91 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.1995, allocations: 19.91 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.1995, allocations: 41.64 kB / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.1997, allocations: 107.8 kB / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1997, allocations: 0 / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1997, allocations: 0 / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1997, allocations: 0 / 0.9019 GB, free: 62.99 MB / 0.6042 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.0007835/0.2005, allocations: 462.8 kB / 0.9024 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2006, allocations: 12.03 kB / 0.9024 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.2006, allocations: 16.83 kB / 0.9024 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2008, allocations: 172.3 kB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.2009, allocations: 34.25 kB / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2009, allocations: 8.375 kB / 0.9026 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.2012, allocations: 93.64 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2012, allocations: 0 / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2012, allocations: 0 / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2012, allocations: 4 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.2016, allocations: 51.97 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.2022, allocations: 324.6 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.2025, allocations: 78.53 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.2027, allocations: 40.83 kB / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.2027, allocations: 3.938 kB / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.203, allocations: 107.4 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.2031, allocations: 0 / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006791/0.2038, allocations: 169.5 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.2038, allocations: 59.55 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2039, allocations: 140.6 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2039, allocations: 25.7 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.204, allocations: 100.3 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.204, allocations: 19.72 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.2041, allocations: 0 / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.2041, allocations: 322.8 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.2043, allocations: 35.97 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2045, allocations: 79.25 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.2047, allocations: 35.98 kB / 0.9042 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2047, allocations: 0 / 0.9042 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004495/0.2052, allocations: 133.4 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2052, allocations: 13.5 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.894e-06/0.2052, allocations: 0 / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2052, allocations: 128 / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.2054, allocations: 27.98 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.2055, allocations: 7.969 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.2056, allocations: 15.94 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.2057, allocations: 7.984 kB / 0.9044 GB, free: 60.2 MB / 0.6042 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 9.809e-05/0.2058, allocations: 127.6 kB / 0.9045 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.2058, allocations: 7.906 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.2059, allocations: 16.72 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2059, allocations: 0 / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2059, allocations: 0 / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.2059, allocations: 93.31 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.206, allocations: 4 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2061, allocations: 15.92 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.2062, allocations: 7.984 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005746/0.2068, allocations: 228.8 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004749/0.2073, allocations: 314.6 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001892/0.2075, allocations: 43.97 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.2076, allocations: 103.3 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of Backend: time 7.02e-07/0.2076, allocations: 0 / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008619/0.2085, allocations: 190.5 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005264/0.209, allocations: 0.6607 MB / 0.9062 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.005651/0.2147, allocations: 1.72 MB / 0.9079 GB, free: 56.6 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)