Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.0007787/0.0007788, allocations: 91.84 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.0008166/0.0008166, 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.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.865/1.865, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005826/0.0005826, allocations: 11.59 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2978, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001399/0.2993, allocations: 0.947 MB / 0.7883 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008691/0.3001, allocations: 424.8 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.3002, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.3002, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.3003, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.3007, allocations: 83.77 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.3008, allocations: 15.94 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.586e-05/0.3009, allocations: 7.984 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.3009, allocations: 15.92 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.209e-05/0.301, allocations: 7.984 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.301, allocations: 4 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.3012, allocations: 99.83 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.3012, allocations: 4 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.3013, allocations: 29.7 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3014, allocations: 75.83 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3014, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3014, allocations: 3.938 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.3015, allocations: 0 / 0.7891 GB, free: 10.13 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005355/0.302, allocations: 389.2 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3021, allocations: 8.031 kB / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.35e-05/0.3021, allocations: 38.55 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.3022, allocations: 0 / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3023, allocations: 170.9 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3023, allocations: 0 / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3024, allocations: 4 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.3025, allocations: 41.69 kB / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3025, allocations: 4 kB / 0.7897 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3025, allocations: 11.97 kB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3025, allocations: 0 / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.3026, allocations: 7.938 kB / 0.7897 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.303, allocations: 252.9 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.3031, allocations: 34.56 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.3031, allocations: 20.98 kB / 0.79 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.3031, allocations: 0 / 0.79 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.3033, allocations: 63.33 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3033, allocations: 0 / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002469/0.3036, allocations: 81.67 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3036, allocations: 51.41 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.3037, allocations: 113.8 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3037, allocations: 29.7 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3038, allocations: 80.14 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3038, allocations: 15.81 kB / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.3038, allocations: 0 / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.304, allocations: 322.8 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.304, allocations: 8 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.3041, allocations: 48.22 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.3041, allocations: 12 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3041, allocations: 0 / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001119/0.3042, allocations: 81.55 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3043, allocations: 6.812 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3043, allocations: 8.125 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3043, allocations: 0 / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.3044, allocations: 20.03 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3044, allocations: 0 / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.3044, allocations: 0 / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3044, allocations: 4 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0001048/0.3045, allocations: 129.7 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.3045, allocations: 7.906 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.3046, allocations: 7.969 kB / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3046, allocations: 0 / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3046, allocations: 0 / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3046, allocations: 4 kB / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.3049, allocations: 306.6 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3049, allocations: 0 / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.3049, allocations: 7.938 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.305, allocations: 0 / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.305, allocations: 11.98 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.305, allocations: 0 / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.305, allocations: 0 / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.3051, allocations: 176 kB / 0.7915 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.3052, allocations: 81.09 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3052, allocations: 4.156 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.3053, allocations: 0 / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.3053, allocations: 7.984 kB / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.3053, allocations: 0 / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.3054, allocations: 87.27 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3054, allocations: 0 / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002728/0.3056, allocations: 36 kB / 0.7917 GB, free: 7.039 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 (6): * Single equations (assignments): 4 * 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.0006914/0.3063, allocations: 0.7853 MB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.3065, allocations: 40.05 kB / 0.7925 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3065, allocations: 0 / 0.7925 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.3065, allocations: 16 kB / 0.7925 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3067, allocations: 6.969 kB / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.3074, allocations: 449.9 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3077, allocations: 0.677 MB / 0.7936 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.3077, allocations: 7.906 kB / 0.7936 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.3077, allocations: 11.44 kB / 0.7937 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3077, allocations: 0 / 0.7937 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.321, allocations: 1.852 MB / 0.7955 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.3213, allocations: 234.3 kB / 0.7957 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.134, allocations: 0 / 0.7957 GB, free: 2.984 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) Environment - environmentSimulation: