Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001147/0.001148, allocations: 176.9 kB / 326.5 MB, free: 2.234 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.093/2.093, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.00116/0.00116, allocations: 94.42 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 9.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2676, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002182/0.2698, allocations: 1.195 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2712, allocations: 0.7225 MB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.2713, allocations: 0 / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.2713, allocations: 3.938 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.2714, allocations: 15.97 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.272, allocations: 87.64 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2722, allocations: 47.94 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2723, allocations: 19.97 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.2724, allocations: 23.92 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.2725, allocations: 31.83 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2725, allocations: 4 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.2727, allocations: 59.95 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.2728, allocations: 11.92 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.2728, allocations: 37.7 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.2731, allocations: 99.75 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2731, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.407e-06/0.2731, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.2731, allocations: 0 / 0.9024 GB, free: 61.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000612/0.2737, allocations: 438.9 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2738, allocations: 8.031 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.2738, allocations: 30.56 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.2739, allocations: 11.86 kB / 0.9029 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.274, allocations: 178.9 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.274, allocations: 11.98 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2741, allocations: 7.938 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2743, allocations: 69.64 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2743, allocations: 0 / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.2743, allocations: 4 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2743, allocations: 0 / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2745, allocations: 47.97 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.275, allocations: 292.8 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2751, allocations: 54.55 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.2752, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.2754, allocations: 83.5 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2754, allocations: 3.938 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000389/0.2758, allocations: 153.5 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.2759, allocations: 51.41 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.2759, allocations: 121.8 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.276, allocations: 29.7 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.276, allocations: 92.23 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.276, allocations: 19.83 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.2761, allocations: 0 / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.2761, allocations: 318.8 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.2762, allocations: 23.98 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.2763, allocations: 65.12 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.024e-05/0.2764, allocations: 39.92 kB / 0.9045 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2764, allocations: 0 / 0.9045 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002189/0.2766, allocations: 121.5 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2766, allocations: 4 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2767, allocations: 0 / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2767, allocations: 4 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.2768, allocations: 19.94 kB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2768, allocations: 0 / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.2769, allocations: 15.91 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2769, allocations: 4 kB / 0.9047 GB, free: 58.91 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: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.522e-05/0.277, allocations: 121.8 kB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.277, allocations: 4 kB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.277, allocations: 12.36 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.277, allocations: 0 / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.277, allocations: 7.953 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2771, allocations: 0 / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.2774, allocations: 398.5 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2775, allocations: 0 / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.2775, allocations: 8 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2775, allocations: 0 / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2775, allocations: 7.938 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2775, allocations: 7.938 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2776, allocations: 0 / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.2778, allocations: 215.5 kB / 0.9054 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.2779, allocations: 85.09 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.2779, allocations: 0 / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.278, allocations: 7.953 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.278, allocations: 7.984 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.278, allocations: 0 / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.2781, allocations: 103.9 kB / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2781, allocations: 0 / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003169/0.2784, allocations: 36 kB / 0.9056 GB, free: 57.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0007186/0.2792, allocations: 0.8003 MB / 0.9064 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.2794, allocations: 80.14 kB / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2794, allocations: 4.062 kB / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.717e-05/0.2795, allocations: 35.92 kB / 0.9065 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2797, allocations: 15.88 kB / 0.9066 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.2807, allocations: 1.197 MB / 0.9077 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.2809, allocations: 0.6926 MB / 0.9084 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.2809, allocations: 8.172 kB / 0.9084 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.281, allocations: 15.44 kB / 0.9084 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/0.281, allocations: 4 kB / 0.9084 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.2956, allocations: 2.312 MB / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.2958, allocations: 243.5 kB / 0.9109 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.919, allocations: 0 / 0.9109 GB, free: 52.45 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)