Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.867/1.867, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008247/0.0008248, allocations: 10.94 kB / 0.6738 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2963, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001282/0.2976, allocations: 0.9431 MB / 0.7883 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.2984, allocations: 404.9 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.2985, allocations: 0 / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.2985, allocations: 0 / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.2985, allocations: 7.938 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.299, allocations: 83.84 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.488e-05/0.299, allocations: 15.92 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.2991, allocations: 4 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.01e-05/0.2991, allocations: 8 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.104e-05/0.2992, allocations: 11.91 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2992, allocations: 4 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.2994, allocations: 87.84 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.2994, allocations: 7.984 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.2994, allocations: 29.7 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.2996, allocations: 67.84 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2996, allocations: 4 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2996, allocations: 0 / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2996, allocations: 0 / 0.789 GB, free: 10.16 MB / 0.6075 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.000495/0.3001, allocations: 373.2 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3002, allocations: 12.03 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/0.3003, allocations: 34.5 kB / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.3003, allocations: 0 / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3004, allocations: 175 kB / 0.7896 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3005, allocations: 0 / 0.7896 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.3005, allocations: 11.98 kB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3006, allocations: 37.69 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3006, allocations: 0 / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.3006, allocations: 0 / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3007, allocations: 4 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.3007, allocations: 4 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.301, allocations: 252.8 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.089e-05/0.3011, allocations: 38.5 kB / 0.7899 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.3012, allocations: 20.94 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.3012, allocations: 0 / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3014, allocations: 59.41 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.3014, allocations: 0 / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002168/0.3016, allocations: 77.61 kB / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3016, allocations: 55.41 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.3017, allocations: 101.8 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3017, allocations: 25.7 kB / 0.7902 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.3018, allocations: 88.14 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.3018, allocations: 11.75 kB / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.3018, allocations: 0 / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.3019, allocations: 326.8 kB / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.3019, allocations: 4 kB / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.302, allocations: 43.41 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.302, allocations: 12.19 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.302, allocations: 0 / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.568e-05/0.3021, allocations: 77.55 kB / 0.7908 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3021, allocations: 6.812 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3022, allocations: 8.047 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3022, allocations: 4 kB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.3022, allocations: 8 kB / 0.7908 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3022, allocations: 0 / 0.7908 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.3023, allocations: 7.906 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3023, allocations: 0 / 0.7908 GB, free: 8.074 MB / 0.6075 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 7.909e-05/0.3024, allocations: 129.6 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.3024, allocations: 4 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.3024, allocations: 7.547 kB / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3024, allocations: 4 kB / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3025, allocations: 0 / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3025, allocations: 0 / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.3027, allocations: 294.6 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3027, allocations: 3.984 kB / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.3027, allocations: 4 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3027, allocations: 0 / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3028, allocations: 7.938 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3028, allocations: 0 / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3028, allocations: 0 / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.3029, allocations: 167.4 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.303, allocations: 77.48 kB / 0.7915 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.303, allocations: 4 kB / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.303, allocations: 8 kB / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.3031, allocations: 0 / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.3031, allocations: 4 kB / 0.7915 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.3031, allocations: 79.27 kB / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3031, allocations: 4 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002694/0.3034, allocations: 36 kB / 0.7916 GB, free: 7.152 MB / 0.6075 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.0006997/0.3041, allocations: 0.7795 MB / 0.7924 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.3042, allocations: 35.92 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3042, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.3043, allocations: 12 kB / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.3045, allocations: 6.969 kB / 0.7924 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.3052, allocations: 431.9 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3055, allocations: 0.6809 MB / 0.7935 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.3055, allocations: 0 / 0.7935 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.3055, allocations: 11.44 kB / 0.7935 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of SimCode: time 1.493e-06/0.3055, allocations: 0 / 0.7935 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.3175, allocations: 1.778 MB / 0.7952 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.3177, allocations: 225.7 kB / 0.7955 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.19, allocations: 0 / 0.7955 GB, free: 3.215 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) Environment - environmentSimulation: