Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.001706/0.001706, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002117/0.002118, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.243/3.243, allocations: 205.4 MB / 222.1 MB, free: 5.52 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 3.03/3.03, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.001005/0.001005, allocations: 16.17 kB / 0.6736 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4963, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.00246/0.4988, allocations: 0.9492 MB / 0.7881 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.5005, allocations: 434.6 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.5006, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.5006, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.5007, allocations: 3.984 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.5015, allocations: 87.66 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.563e-05/0.5016, allocations: 11.98 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.5017, allocations: 3.984 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.5018, allocations: 15.94 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.5018, allocations: 7.922 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.5019, allocations: 4 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.5022, allocations: 71.92 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.5022, allocations: 7.984 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.5023, allocations: 29.7 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.5026, allocations: 71.84 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5026, allocations: 3.938 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.216e-06/0.5026, allocations: 0 / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.5026, allocations: 4 kB / 0.7889 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.0009489/0.5036, allocations: 377.2 kB / 0.7892 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.431e-05/0.5037, allocations: 12.03 kB / 0.7892 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.5038, allocations: 30.56 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.5039, allocations: 7.906 kB / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.5041, allocations: 175 kB / 0.7894 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.5041, allocations: 0 / 0.7894 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.5042, allocations: 4 kB / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.5043, allocations: 41.69 kB / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5044, allocations: 0 / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.5044, allocations: 4 kB / 0.7895 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.5044, allocations: 0 / 0.7895 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.5045, allocations: 11.92 kB / 0.7895 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.505, allocations: 248.9 kB / 0.7897 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.5052, allocations: 42.56 kB / 0.7898 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.5052, allocations: 0 / 0.7898 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.5055, allocations: 63.44 kB / 0.7898 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.5055, allocations: 0 / 0.7898 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000352/0.5059, allocations: 73.67 kB / 0.7899 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.5059, allocations: 55.34 kB / 0.79 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.5061, allocations: 113.8 kB / 0.7901 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.5061, allocations: 25.7 kB / 0.7901 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.5062, allocations: 84.14 kB / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.5063, allocations: 11.84 kB / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.5063, allocations: 0 / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.5065, allocations: 322.8 kB / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.5066, allocations: 8 kB / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.5067, allocations: 43.34 kB / 0.7905 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.292e-05/0.5068, allocations: 12 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.5068, allocations: 4 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001778/0.507, allocations: 73.52 kB / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.507, allocations: 6.969 kB / 0.7906 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.5071, allocations: 0 / 0.7906 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.5071, allocations: 4 kB / 0.7906 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.5072, allocations: 16.03 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.5073, allocations: 4.062 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.5073, allocations: 0 / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.5074, allocations: 7.984 kB / 0.7907 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 0.0001872/0.5076, allocations: 117.8 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.5076, allocations: 7.891 kB / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.5077, allocations: 7.969 kB / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5077, allocations: 0 / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.5077, allocations: 0 / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5077, allocations: 0 / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.5082, allocations: 310.5 kB / 0.7911 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5083, allocations: 0 / 0.7911 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.5083, allocations: 4 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5083, allocations: 0 / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5083, allocations: 0 / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.5083, allocations: 0.5625 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5083, allocations: 0 / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.5087, allocations: 167.5 kB / 0.7913 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.5088, allocations: 92.95 kB / 0.7913 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.5088, allocations: 0 / 0.7913 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.5089, allocations: 0 / 0.7913 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.509, allocations: 11.92 kB / 0.7914 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.509, allocations: 3.938 kB / 0.7914 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.5091, allocations: 83.28 kB / 0.7914 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5091, allocations: 0 / 0.7914 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005737/0.5097, allocations: 31.98 kB / 0.7915 GB, free: 7.148 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.001273/0.511, allocations: 0.7721 MB / 0.7922 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.5112, allocations: 31.92 kB / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5112, allocations: 4 kB / 0.7923 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.5113, allocations: 12.12 kB / 0.7923 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.5116, allocations: 7.984 kB / 0.7923 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.5132, allocations: 0.8054 MB / 0.7931 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.5139, allocations: 0.6809 MB / 0.7937 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.5139, allocations: 4 kB / 0.7937 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.514, allocations: 11.44 kB / 0.7937 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.514, allocations: 4 kB / 0.7937 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.5386, allocations: 1.827 MB / 0.7955 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004419/0.5391, allocations: 239.2 kB / 0.7958 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.391/3.93, allocations: 0 / 0.7958 GB, free: 2.773 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) Environment - environmentSimulation: