Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.582/1.582, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001169/0.001169, allocations: 190.1 kB / 326.5 MB, free: 2.27 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.076/2.076, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008956/0.0008955, allocations: 92.48 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004157, allocations: 13.69 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.3886, allocations: 131.9 MB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.389, allocations: 67.97 kB / 1.029 GB, free: 11.74 MB / 0.6823 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.01126/0.4003, allocations: 2.162 MB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4003, allocations: 3.938 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4004, allocations: 0 / 1.031 GB, free: 9.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000565/0.4009, allocations: 384.9 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.401, allocations: 8.031 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.617e-05/0.4011, allocations: 46.48 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.4012, allocations: 3.906 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.4013, allocations: 167 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.4014, allocations: 8 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.4014, allocations: 4 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4016, allocations: 37.67 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4016, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4016, allocations: 4 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4016, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.4017, allocations: 4 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.4021, allocations: 253.5 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.4023, allocations: 34.56 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.4023, allocations: 0 / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.4025, allocations: 63.44 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.395e-06/0.4025, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003396/0.4029, allocations: 73.61 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.403, allocations: 55.41 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.4031, allocations: 100.9 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4031, allocations: 25.7 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.4032, allocations: 88.05 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.4032, allocations: 15.83 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.4033, allocations: 4 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.4035, allocations: 314.8 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.4035, allocations: 12 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.4036, allocations: 35.42 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.4037, allocations: 11.94 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4037, allocations: 4 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001868/0.4039, allocations: 73.77 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4039, allocations: 4 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.404, allocations: 8.047 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.404, allocations: 4.047 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.4041, allocations: 11.98 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4041, allocations: 0 / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.4042, allocations: 3.938 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4042, allocations: 7.953 kB / 1.033 GB, free: 7.496 MB / 0.6823 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001178/0.4043, allocations: 117.8 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.4044, allocations: 0 / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.4044, allocations: 7.547 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4044, allocations: 8 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4045, allocations: 0 / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4045, allocations: 0 / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.4049, allocations: 290.6 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4049, allocations: 12.23 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.405, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.405, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.405, allocations: 12 kB / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.405, allocations: 0 / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4051, allocations: 0 / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.4053, allocations: 167.4 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.4054, allocations: 81.05 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.4054, allocations: 4 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.4055, allocations: 4 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.4056, allocations: 0 / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.4056, allocations: 0 / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.489e-05/0.4057, allocations: 83.27 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4057, allocations: 4 kB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005741/0.4063, allocations: 47.89 kB / 1.034 GB, free: 6.574 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001092/0.4074, allocations: 0.7821 MB / 1.034 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.4075, allocations: 36.16 kB / 1.035 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4076, allocations: 0 / 1.035 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.4076, allocations: 12 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.4079, allocations: 0 / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.4091, allocations: 0.8212 MB / 1.035 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.4095, allocations: 0.6809 MB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.4095, allocations: 3.984 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.4096, allocations: 23.38 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of SimCode: time 9.21e-07/0.4096, allocations: 0 / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.4249, allocations: 1.939 MB / 1.038 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.4252, allocations: 233.6 kB / 1.038 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.932, allocations: 0 / 1.038 GB, free: 2.074 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)