Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.465/2.465, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001472/0.001473, allocations: 181.8 kB / 315.4 MB, free: 4 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.25/2.25, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 110.1 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.905e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2722, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9821/1.254, allocations: 131.9 MB / 1.013 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.255, allocations: 70.77 kB / 1.013 GB, free: 6.828 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.009456/1.264, allocations: 2.141 MB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.292e-06/1.264, allocations: 4 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.264, allocations: 0.75 kB / 1.015 GB, free: 5.008 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.0005042/1.265, allocations: 387.4 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.265, allocations: 8.031 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/1.265, allocations: 7.953 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.265, allocations: 159.1 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/1.265, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/1.265, allocations: 4 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.993e-05/1.265, allocations: 3.984 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/1.265, allocations: 49 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.265, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.265, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/1.265, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/1.265, allocations: 134.2 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/1.266, allocations: 32.48 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/1.266, allocations: 16.16 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/1.266, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/1.266, allocations: 58.81 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/1.266, allocations: 0 / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002041/1.266, allocations: 52.94 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/1.266, allocations: 54.78 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/1.266, allocations: 92.94 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/1.266, allocations: 29.69 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/1.266, allocations: 87.39 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/1.266, allocations: 7.906 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/1.266, allocations: 0 / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.266, allocations: 318 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/1.266, allocations: 4 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/1.267, allocations: 35.39 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/1.267, allocations: 10.88 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.267, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00013/1.267, allocations: 60.28 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.267, allocations: 8 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.267, allocations: 0 / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.267, allocations: 3.938 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/1.267, allocations: 18.61 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.267, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/1.267, allocations: 8.094 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/1.267, allocations: 0 / 1.017 GB, free: 3.211 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 9.389e-05/1.267, allocations: 113 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001191/1.267, allocations: 55.67 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/1.267, allocations: 7.984 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/1.267, allocations: 4.125 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.267, allocations: 0 / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.267, allocations: 0 / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.267, allocations: 0 / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/1.268, allocations: 145.3 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.268, allocations: 3.938 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/1.268, allocations: 4.875 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.268, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/1.268, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.268, allocations: 3.938 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.268, allocations: 4 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/1.268, allocations: 84.08 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/1.268, allocations: 77.11 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/1.268, allocations: 6.75 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/1.268, allocations: 48 / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/1.268, allocations: 11.97 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/1.268, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.46e-05/1.268, allocations: 82.66 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.268, allocations: 0 / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004142/1.268, allocations: 39.92 kB / 1.017 GB, free: 2.508 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.0009393/1.269, allocations: 0.7038 MB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001325/1.27, allocations: 27.25 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.27, allocations: 0 / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/1.27, allocations: 16.17 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/1.27, allocations: 3.984 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/1.27, allocations: 124.1 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/1.271, allocations: 0.6845 MB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.926e-05/1.271, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/1.271, allocations: 11.44 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/1.271, allocations: 3.938 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/1.309, allocations: 1.622 MB / 1.02 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003906/1.309, allocations: 173.6 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.687, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB