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 2.147/2.147, allocations: 252 MB / 267.3 MB, free: 10.84 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.002365/0.002365, allocations: 175.3 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.369/3.369, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.001064/0.001064, allocations: 90.36 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005082, allocations: 11 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3689, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001739/0.3707, allocations: 0.954 MB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3718, allocations: 416.9 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.3719, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.3719, allocations: 3.938 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.372, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.3725, allocations: 79.8 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.3726, allocations: 15.98 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.3727, allocations: 3.984 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/0.3727, allocations: 7.938 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.3728, allocations: 15.98 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.3728, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.373, allocations: 99.84 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.3731, allocations: 3.938 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.3731, allocations: 37.69 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3734, allocations: 91.81 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3734, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3734, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3734, allocations: 4 kB / 0.9026 GB, free: 61.66 MB / 0.6042 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.0004629/0.3739, allocations: 378.3 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3739, allocations: 11.97 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.602e-05/0.374, allocations: 34.69 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.3741, allocations: 8.844 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.3742, allocations: 164.6 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.3742, allocations: 8.375 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3742, allocations: 4.359 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3743, allocations: 38.25 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3744, allocations: 3.938 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3744, allocations: 0 / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3744, allocations: 4 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.3744, allocations: 8 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.3748, allocations: 244.9 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.375, allocations: 38.5 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.375, allocations: 20.94 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.375, allocations: 4 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.3752, allocations: 51.41 kB / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.3752, allocations: 0 / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002527/0.3755, allocations: 85.52 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3756, allocations: 55.41 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.3756, allocations: 101.8 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.3757, allocations: 25.7 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.3757, allocations: 88.12 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3757, allocations: 11.91 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.3757, allocations: 0 / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.3758, allocations: 318.8 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/0.3759, allocations: 8 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.3759, allocations: 35.42 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.376, allocations: 51.55 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.376, allocations: 7.938 kB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001407/0.3762, allocations: 77.45 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3762, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3762, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3762, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.3763, allocations: 15.94 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3764, allocations: 4.062 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.3764, allocations: 4 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3764, allocations: 0 / 0.9044 GB, free: 59.52 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.832e-05/0.3765, allocations: 129.6 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.3766, allocations: 3.938 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.3766, allocations: 7.562 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3766, allocations: 0 / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3766, allocations: 0 / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3766, allocations: 0 / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.3769, allocations: 306.5 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.377, allocations: 0 / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.377, allocations: 4 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.377, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.377, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.377, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.377, allocations: 3.938 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.3772, allocations: 163.5 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.3773, allocations: 81.11 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3773, allocations: 4.375 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.3774, allocations: 4 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.3774, allocations: 3.984 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3774, allocations: 8 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.3775, allocations: 79.28 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.3775, allocations: 0 / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004908/0.378, allocations: 35.92 kB / 0.9052 GB, free: 58.6 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007955/0.3788, allocations: 0.7689 MB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.379, allocations: 39.86 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.379, allocations: 128 / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.379, allocations: 20 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3794, allocations: 0 / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3806, allocations: 1.279 MB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.3808, allocations: 0.6887 MB / 0.9079 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.3808, allocations: 0 / 0.9079 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.3809, allocations: 15.42 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.3809, allocations: 0 / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.3975, allocations: 1.761 MB / 0.9097 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.3978, allocations: 253.6 kB / 0.9099 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.033, allocations: 0 / 0.9099 GB, free: 53.77 MB / 0.6042 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)