Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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 1.476/1.476, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 188.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.000888/0.0008879, allocations: 86.48 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.977e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7415/0.9706, allocations: 132.3 MB / 1.014 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.9709, allocations: 76.45 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.006225/0.9771, allocations: 2.309 MB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9771, allocations: 0 / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.9771, allocations: 0 / 1.017 GB, free: 3.141 MB / 0.6355 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.0004381/0.9776, allocations: 383.2 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.9776, allocations: 15.97 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.9777, allocations: 4 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.9778, allocations: 170.9 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.9778, allocations: 0 / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.9779, allocations: 0.8438 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.684e-05/0.9779, allocations: 7.938 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.827e-05/0.978, allocations: 33.69 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.978, allocations: 4 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.978, allocations: 0 / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.978, allocations: 0 / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.9782, allocations: 147.2 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.972e-05/0.9783, allocations: 28.73 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.9783, allocations: 11.92 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.9783, allocations: 3.938 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.9784, allocations: 62.09 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.9785, allocations: 0 / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001623/0.9786, allocations: 60.44 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.9787, allocations: 51.41 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.9787, allocations: 96.62 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.9788, allocations: 25.7 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.9788, allocations: 84.12 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.9788, allocations: 18.94 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-06/0.9788, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.9789, allocations: 310.8 kB / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.979, allocations: 11.31 kB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.979, allocations: 34.86 kB / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.979, allocations: 11.89 kB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9791, allocations: 0 / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.411e-05/0.9791, allocations: 57.44 kB / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.9792, allocations: 12.09 kB / 1.018 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9792, allocations: 0 / 1.018 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9792, allocations: 0 / 1.018 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.9793, allocations: 15.36 kB / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.9793, allocations: 0 / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.9793, allocations: 9.25 kB / 1.018 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.9793, allocations: 160 / 1.018 GB, free: 1.336 MB / 0.6355 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.715e-05/0.9794, allocations: 116.9 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.968e-05/0.9795, allocations: 60.83 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.9795, allocations: 4 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.9795, allocations: 7.531 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.9796, allocations: 4 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.9796, allocations: 0 / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.9796, allocations: 0 / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.723e-05/0.9797, allocations: 137.3 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9797, allocations: 3.938 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.9797, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.9797, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.9797, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9797, allocations: 3.984 kB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9797, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.9799, allocations: 87.17 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.9799, allocations: 81.11 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.9799, allocations: 3.984 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.9799, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.98, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.98, allocations: 7.938 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.98, allocations: 86.41 kB / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.98, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002637/0.9803, allocations: 54.92 kB / 1.019 GB, free: 0.6133 MB / 0.6355 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,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0007018/0.981, allocations: 0.6944 MB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.822e-05/0.9811, allocations: 23.17 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9811, allocations: 3.938 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.9812, allocations: 19.06 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.283e-05/0.9813, allocations: 2.062 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.9816, allocations: 128.2 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.9819, allocations: 0.6848 MB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.9819, allocations: 3.984 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.9819, allocations: 11.44 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.9819, allocations: 3.938 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/1.003, allocations: 1.689 MB / 1.022 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/1.003, allocations: 192.9 kB / 1.022 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.464, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)