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.296/2.296, allocations: 251 MB / 265.9 MB, free: 11.69 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.003096/0.003096, allocations: 179.2 kB / 325.5 MB, free: 2.879 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.517/2.517, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001883/0.001882, allocations: 96.55 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004851, allocations: 16.78 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.219, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/0.4621, allocations: 131.7 MB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.4625, allocations: 75.95 kB / 1.027 GB, free: 13.53 MB / 0.6823 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.00957/0.472, allocations: 2.166 MB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4721, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4721, allocations: 0 / 1.03 GB, free: 11.36 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.0005162/0.4726, allocations: 388.9 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4727, allocations: 8.031 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.4728, allocations: 30.56 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.4728, allocations: 15.84 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4729, allocations: 159.1 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.473, allocations: 8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.473, allocations: 4 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.4731, allocations: 37.69 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4732, allocations: 3.938 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4732, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4732, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.4733, allocations: 11.98 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.4737, allocations: 249.8 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.4738, allocations: 38.55 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.4738, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.474, allocations: 55.44 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.474, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003128/0.4743, allocations: 77.67 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.4744, allocations: 63.23 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.4745, allocations: 96.98 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4745, allocations: 29.7 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.4746, allocations: 80.14 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.4746, allocations: 15.75 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4746, allocations: 4 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4748, allocations: 318.8 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.4748, allocations: 7.984 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.4749, allocations: 35.44 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.4749, allocations: 15.98 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4749, allocations: 0 / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001637/0.4751, allocations: 65.62 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4751, allocations: 9.719 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4752, allocations: 4.062 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4752, allocations: 0 / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.4753, allocations: 15.92 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4753, allocations: 4 kB / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.4754, allocations: 11.86 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4754, allocations: 4.25 kB / 1.031 GB, free: 9.285 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.000103/0.4755, allocations: 111.7 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.4755, allocations: 4 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.4756, allocations: 3.562 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4756, allocations: 4 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4756, allocations: 7.984 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4756, allocations: 0 / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.476, allocations: 302.5 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.476, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.476, allocations: 4 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4761, allocations: 3.984 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4761, allocations: 0 / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4761, allocations: 0 / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.4761, allocations: 7.953 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.4763, allocations: 163.4 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4764, allocations: 85.09 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.4764, allocations: 0 / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.4765, allocations: 0 / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.4766, allocations: 12.22 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4766, allocations: 3.953 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.4767, allocations: 91.19 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4767, allocations: 4 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004384/0.4771, allocations: 47.94 kB / 1.032 GB, free: 8.348 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.001023/0.4781, allocations: 0.7716 MB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.4784, allocations: 35.92 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4784, allocations: 0 / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.4785, allocations: 15.94 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.4786, allocations: 4 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009238/0.4796, allocations: 0.8131 MB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4799, allocations: 0.6809 MB / 1.034 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.4799, allocations: 8 kB / 1.034 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.48, allocations: 11.42 kB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/0.48, allocations: 0 / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.5046, allocations: 1.94 MB / 1.036 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/0.505, allocations: 219.4 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/2.967, allocations: 0 / 1.037 GB, free: 3.855 MB / 0.6823 GB