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 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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.156/2.156, allocations: 251 MB / 265.9 MB, free: 11.7 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.00248/0.00248, allocations: 172.9 kB / 325.5 MB, free: 2.922 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.517/2.517, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001546/0.001546, allocations: 91.73 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007229/0.0007231, allocations: 13.84 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2536, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2573/0.5109, allocations: 133.7 MB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005133/0.5115, allocations: 83.95 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02522/0.5368, allocations: 3.157 MB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5368, allocations: 0 / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.5369, allocations: 8 kB / 1.033 GB, free: 8.332 MB / 0.6823 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.001414/0.5383, allocations: 482.3 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.993e-05/0.5384, allocations: 8.031 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.403e-05/0.5385, allocations: 30.56 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.5386, allocations: 19.86 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.5389, allocations: 183.9 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.539, allocations: 29.7 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.5391, allocations: 11.94 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.5396, allocations: 77.58 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5396, allocations: 0 / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.5397, allocations: 8 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.5397, allocations: 4 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.5402, allocations: 59.84 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.5415, allocations: 332.7 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.5421, allocations: 74.53 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.5422, allocations: 4.094 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005184/0.5427, allocations: 99.28 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 4.558e-06/0.5428, allocations: 4 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001229/0.544, allocations: 169.4 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.5441, allocations: 59.55 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.5444, allocations: 119 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.5444, allocations: 29.7 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.5446, allocations: 108.2 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.5447, allocations: 15.81 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.5447, allocations: 4 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.5449, allocations: 318.8 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.5452, allocations: 31.98 kB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.5456, allocations: 74.91 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.546, allocations: 43.97 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.546, allocations: 0 / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000866/0.5469, allocations: 141.3 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.5469, allocations: 4 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.547, allocations: 4 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.547, allocations: 3.953 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.5473, allocations: 19.92 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.5474, allocations: 4.375 kB / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.5477, allocations: 24.11 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.5478, allocations: 4 kB / 1.035 GB, free: 5.516 MB / 0.6823 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 () * 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.0002157/0.548, allocations: 119.7 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.5481, allocations: 11.84 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.5482, allocations: 16.72 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5482, allocations: 0 / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.5483, allocations: 7.953 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5483, allocations: 3.938 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.5499, allocations: 434.3 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.55, allocations: 4 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.5502, allocations: 11.98 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/0.5502, allocations: 7.953 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.5503, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5503, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5503, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.5512, allocations: 239.2 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.5513, allocations: 85.02 kB / 1.036 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.5514, allocations: 3.953 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.5518, allocations: 15.98 kB / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.5519, allocations: 7.984 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.552, allocations: 7.984 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001586/0.5521, allocations: 101.5 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.062e-06/0.5522, allocations: 0 / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007769/0.553, allocations: 55.94 kB / 1.036 GB, free: 4.309 MB / 0.6823 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) * Number of clocked states: 0 () * 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.002032/0.555, allocations: 0.8415 MB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008118/0.5559, allocations: 95.81 kB / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5559, allocations: 0 / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.5563, allocations: 56.16 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.5568, allocations: 7.953 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.559, allocations: 1.236 MB / 1.038 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.5595, allocations: 0.6965 MB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.5598, allocations: 12.86 kB / 1.039 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5599, allocations: 27.42 kB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of SimCode: time 1.542e-06/0.56, allocations: 3.938 kB / 1.039 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.5917, allocations: 2.875 MB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003819/0.5922, allocations: 237.3 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.008, allocations: 0 / 1.042 GB, free: 14.26 MB / 0.698 GB