Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001136/0.001136, allocations: 180.2 kB / 371.6 MB, free: 3.406 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.527/1.527, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008701/0.0008701, allocations: 94.05 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.239e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8247/1.076, allocations: 141.1 MB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/1.076, allocations: 81.56 kB / 1.118 GB, free: 42.99 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009021/1.085, allocations: 3.134 MB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.392e-06/1.085, allocations: 0 / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.085, allocations: 0 / 1.121 GB, free: 41.19 MB / 0.7448 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.0005124/1.086, allocations: 479 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.086, allocations: 8.031 kB / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/1.086, allocations: 37.28 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/1.086, allocations: 14.41 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/1.086, allocations: 175.5 kB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/1.086, allocations: 36.58 kB / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/1.086, allocations: 4 kB / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/1.086, allocations: 79.02 kB / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.086, allocations: 0 / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.086, allocations: 0 / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.086, allocations: 0 / 1.122 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/1.087, allocations: 33.45 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/1.087, allocations: 339.9 kB / 1.122 GB, free: 40 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/1.087, allocations: 61.75 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/1.087, allocations: 32.3 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/1.087, allocations: 0 / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/1.088, allocations: 84.41 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/1.088, allocations: 4 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002434/1.088, allocations: 117.5 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/1.088, allocations: 55.36 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/1.088, allocations: 125.5 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.088, allocations: 33.59 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/1.088, allocations: 92.12 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/1.088, allocations: 23.12 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.088, allocations: 0 / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.468e-05/1.088, allocations: 329.5 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/1.088, allocations: 19.62 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/1.088, allocations: 63.44 kB / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/1.088, allocations: 23.2 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.088, allocations: 5.406 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000155/1.088, allocations: 119 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.088, allocations: 4.781 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.089, allocations: 4.5 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.089, allocations: 0.6562 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.089, allocations: 19.45 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.089, allocations: 7.953 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.089, allocations: 26.83 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/1.089, allocations: 4 kB / 1.123 GB, free: 38.87 MB / 0.7448 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete 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 5.551e-05/1.089, allocations: 110.1 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/1.089, allocations: 7.906 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/1.089, allocations: 15.81 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.089, allocations: 1.547 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.089, allocations: 4.938 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.089, allocations: 11.95 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/1.089, allocations: 408.2 kB / 1.124 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.089, allocations: 0 / 1.124 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/1.089, allocations: 11.42 kB / 1.124 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.089, allocations: 1.312 kB / 1.124 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.089, allocations: 3.422 kB / 1.124 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.09, allocations: 12.45 kB / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.09, allocations: 0 / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/1.09, allocations: 209.7 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/1.09, allocations: 84.48 kB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/1.09, allocations: 5.688 kB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/1.09, allocations: 11.47 kB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/1.09, allocations: 18.64 kB / 1.124 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/1.09, allocations: 11.36 kB / 1.124 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.497e-05/1.09, allocations: 98.2 kB / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.09, allocations: 0 / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002928/1.09, allocations: 56.47 kB / 1.124 GB, free: 37.89 MB / 0.7448 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0006271/1.091, allocations: 0.8129 MB / 1.125 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000151/1.091, allocations: 68.69 kB / 1.125 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.091, allocations: 0 / 1.125 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.733e-05/1.091, allocations: 43.47 kB / 1.125 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/1.091, allocations: 25.7 kB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/1.092, allocations: 166.9 kB / 1.125 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/1.092, allocations: 0.6995 MB / 1.126 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.789e-05/1.092, allocations: 16.14 kB / 1.126 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/1.092, allocations: 31.06 kB / 1.126 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.092, allocations: 0 / 1.126 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/1.107, allocations: 2.918 MB / 1.129 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/1.107, allocations: 200.7 kB / 1.129 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.931, allocations: 0 / 1.129 GB, free: 34.29 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)