Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.844/1.844, allocations: 289.7 MB / 302.2 MB, free: 2.211 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.001291/0.001291, allocations: 179.1 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.618/1.618, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001135/0.001135, allocations: 88.61 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.635e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.282, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7351/1.017, allocations: 139.1 MB / 1.116 GB, free: 44.65 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/1.017, allocations: 69.97 kB / 1.116 GB, free: 44.62 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.006115/1.023, allocations: 2.146 MB / 1.118 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/1.024, allocations: 0 / 1.118 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.024, allocations: 4.656 kB / 1.118 GB, free: 43.36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003618/1.024, allocations: 376 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.024, allocations: 8.688 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.603e-05/1.024, allocations: 41.28 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/1.024, allocations: 6.594 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/1.024, allocations: 164.7 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/1.024, allocations: 0.5625 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/1.024, allocations: 4.5 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/1.024, allocations: 52.34 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.024, allocations: 0 / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.024, allocations: 0.5938 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.025, allocations: 2.484 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.915e-05/1.025, allocations: 4.75 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/1.025, allocations: 251.8 kB / 1.119 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/1.025, allocations: 36.23 kB / 1.119 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/1.025, allocations: 16.67 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/1.025, allocations: 3.422 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/1.025, allocations: 60.42 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/1.025, allocations: 0 / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001897/1.025, allocations: 61.59 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.025, allocations: 55.72 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/1.025, allocations: 101.7 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/1.025, allocations: 25.7 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/1.025, allocations: 84.14 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/1.026, allocations: 11.22 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.026, allocations: 4 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/1.026, allocations: 318.6 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/1.026, allocations: 11.94 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/1.026, allocations: 31.86 kB / 1.12 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/1.026, allocations: 16.78 kB / 1.12 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.026, allocations: 4 kB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001019/1.026, allocations: 68.38 kB / 1.12 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.026, allocations: 11.94 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.026, allocations: 0.6875 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.026, allocations: 1.266 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/1.026, allocations: 15.23 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/1.026, allocations: 4 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/1.026, allocations: 3.938 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/1.026, allocations: 4.625 kB / 1.12 GB, free: 41.44 MB / 0.7448 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 () * 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 5.846e-05/1.026, allocations: 112.5 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/1.026, allocations: 4 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/1.026, allocations: 3.562 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.026, allocations: 0 / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.026, allocations: 0.6562 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.026, allocations: 3.469 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/1.026, allocations: 306.7 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.026, allocations: 0 / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/1.026, allocations: 4 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.026, allocations: 4 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.026, allocations: 4.812 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.026, allocations: 2.172 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.027, allocations: 0 / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/1.027, allocations: 171 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/1.027, allocations: 77.11 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/1.027, allocations: 0 / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/1.027, allocations: 8.312 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/1.027, allocations: 4 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/1.027, allocations: 0 / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.633e-05/1.027, allocations: 83.25 kB / 1.12 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 0 / 1.12 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003202/1.027, allocations: 46.22 kB / 1.12 GB, free: 40.59 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete 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.0006463/1.028, allocations: 0.7929 MB / 1.121 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.56e-05/1.028, allocations: 34.91 kB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.028, allocations: 0 / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/1.028, allocations: 12.19 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/1.028, allocations: 4.375 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/1.028, allocations: 130.4 kB / 1.121 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/1.029, allocations: 0.685 MB / 1.122 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.382e-05/1.029, allocations: 0.75 kB / 1.122 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/1.029, allocations: 15.06 kB / 1.122 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/1.029, allocations: 0 / 1.122 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/1.042, allocations: 1.948 MB / 1.124 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.042, allocations: 190.5 kB / 1.124 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.621, allocations: 0 / 1.124 GB, free: 37.65 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)