Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.735/1.735, allocations: 289.7 MB / 302.2 MB, free: 2.109 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.001057/0.001057, allocations: 182 kB / 371.6 MB, free: 3.395 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.689/1.689, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009536/0.0009536, allocations: 95.03 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.446e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3088, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9722/1.281, allocations: 141 MB / 1.118 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.281, allocations: 80.17 kB / 1.118 GB, free: 43.09 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.009115/1.29, allocations: 3.041 MB / 1.121 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/1.29, allocations: 0 / 1.121 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.291, allocations: 0 / 1.121 GB, free: 41.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005259/1.291, allocations: 457.3 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.291, allocations: 8.031 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/1.291, allocations: 42.19 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/1.291, allocations: 10.41 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/1.291, allocations: 172 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/1.291, allocations: 4 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.291, allocations: 11.5 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.292, allocations: 84.56 kB / 1.121 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.292, allocations: 0 / 1.121 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/1.292, allocations: 3.875 kB / 1.121 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.292, allocations: 0 / 1.121 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/1.292, allocations: 29.75 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/1.292, allocations: 330.8 kB / 1.122 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/1.293, allocations: 61.67 kB / 1.122 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/1.293, allocations: 41.25 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/1.293, allocations: 0 / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/1.293, allocations: 84.34 kB / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/1.293, allocations: 0 / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003359/1.293, allocations: 138 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/1.293, allocations: 59.36 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/1.293, allocations: 114.6 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/1.293, allocations: 37.8 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/1.293, allocations: 90.97 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/1.293, allocations: 22.72 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/1.293, allocations: 7.125 kB / 1.122 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.033e-05/1.294, allocations: 317.5 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/1.294, allocations: 18.12 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/1.294, allocations: 73.45 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/1.294, allocations: 26.75 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.294, allocations: 4 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000178/1.294, allocations: 123.5 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.294, allocations: 4 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.294, allocations: 0 / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.294, allocations: 4 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/1.294, allocations: 16.72 kB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.294, allocations: 4.625 kB / 1.123 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/1.294, allocations: 27.58 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/1.294, allocations: 8 kB / 1.123 GB, free: 39.06 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.924e-05/1.294, allocations: 112.4 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/1.294, allocations: 4 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/1.294, allocations: 12.22 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.294, allocations: 0 / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.294, allocations: 4.938 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.294, allocations: 0 / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/1.295, allocations: 430.2 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/1.295, allocations: 0 / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/1.295, allocations: 4 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.295, allocations: 3.938 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/1.295, allocations: 3.328 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.295, allocations: 4.875 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.295, allocations: 3.953 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/1.295, allocations: 240 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/1.295, allocations: 84.53 kB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/1.295, allocations: 4 kB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/1.295, allocations: 4 kB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/1.295, allocations: 3.516 kB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/1.295, allocations: 15.84 kB / 1.124 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.093e-05/1.295, allocations: 92.72 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.295, allocations: 0.75 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003212/1.296, allocations: 55 kB / 1.124 GB, free: 38.09 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007475/1.297, allocations: 0.848 MB / 1.125 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001695/1.297, allocations: 77.23 kB / 1.125 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.297, allocations: 0 / 1.125 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/1.297, allocations: 37.75 kB / 1.125 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/1.297, allocations: 18.7 kB / 1.125 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/1.298, allocations: 177.2 kB / 1.125 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/1.298, allocations: 0.699 MB / 1.126 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.498e-05/1.298, allocations: 7.375 kB / 1.126 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/1.298, allocations: 21.2 kB / 1.126 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/1.298, allocations: 0 / 1.126 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/1.313, allocations: 2.84 MB / 1.129 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/1.313, allocations: 216.4 kB / 1.129 GB, free: 34.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.993, allocations: 0 / 1.129 GB, free: 34.53 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)