Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.444/1.444, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 183.1 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008879/0.0008879, allocations: 98.39 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2208, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8089/1.03, allocations: 132.2 MB / 1.014 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.03, allocations: 71.48 kB / 1.014 GB, free: 5.137 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.008406/1.038, allocations: 2.278 MB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.322e-06/1.038, allocations: 0 / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.543e-06/1.039, allocations: 0 / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000449/1.039, allocations: 387.7 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.039, allocations: 15.97 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/1.039, allocations: 0 / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/1.039, allocations: 178.9 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/1.039, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/1.039, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.655e-05/1.039, allocations: 7.062 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.141e-05/1.039, allocations: 37.69 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.039, allocations: 0.75 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/1.039, allocations: 0 / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.039, allocations: 0 / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/1.04, allocations: 137.6 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.034e-05/1.04, allocations: 44.5 kB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/1.04, allocations: 8.859 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/1.04, allocations: 3.5 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.04, allocations: 51.19 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/1.04, allocations: 3.938 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001896/1.04, allocations: 57.17 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.04, allocations: 59.34 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/1.04, allocations: 96.25 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/1.04, allocations: 25.7 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/1.04, allocations: 83.33 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/1.04, allocations: 15.8 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.04, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.041, allocations: 314.3 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/1.041, allocations: 4 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/1.041, allocations: 34.69 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/1.041, allocations: 15.12 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.041, allocations: 0 / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/1.041, allocations: 56.69 kB / 1.018 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.041, allocations: 8 kB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.041, allocations: 4.094 kB / 1.018 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.041, allocations: 0 / 1.018 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/1.041, allocations: 15.92 kB / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/1.041, allocations: 0.7812 kB / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/1.041, allocations: 11.88 kB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/1.041, allocations: 0.875 kB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.553e-05/1.041, allocations: 112 kB / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001005/1.041, allocations: 57.16 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/1.041, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/1.041, allocations: 12.33 kB / 1.018 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.041, allocations: 4 kB / 1.018 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.041, allocations: 3.938 kB / 1.018 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.041, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/1.042, allocations: 140.6 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.042, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/1.042, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.042, allocations: 4 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.042, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.042, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.042, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/1.042, allocations: 91.28 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/1.042, allocations: 84.67 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/1.042, allocations: 192 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/1.042, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/1.042, allocations: 7.969 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/1.042, allocations: 4 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.399e-05/1.042, allocations: 79.28 kB / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.2e-07/1.042, allocations: 7.938 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004078/1.042, allocations: 50.98 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008018/1.043, allocations: 0.7047 MB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/1.043, allocations: 23.44 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.043, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.412e-05/1.043, allocations: 19.31 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/1.044, allocations: 6.516 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/1.044, allocations: 123.9 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/1.044, allocations: 0.6845 MB / 1.02 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.345e-05/1.044, allocations: 4.188 kB / 1.02 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/1.044, allocations: 11.44 kB / 1.02 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/1.044, allocations: 3.938 kB / 1.02 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/1.066, allocations: 1.706 MB / 1.022 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/1.067, allocations: 191.6 kB / 1.022 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.576, allocations: 2.672 kB / 1.022 GB, free: 13.16 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)