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.498/1.498, allocations: 251.9 MB / 266.9 MB, free: 10.87 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.001255/0.001255, allocations: 183.3 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.5775 GB, free: 20.16 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.0008266/0.0008264, allocations: 106.2 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 8.906 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2045, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.3953, allocations: 132.1 MB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/0.3957, allocations: 75.95 kB / 1.029 GB, free: 11.53 MB / 0.6823 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.007251/0.403, allocations: 2.342 MB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.697e-06/0.403, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.403, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 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.0004785/0.4035, allocations: 393.6 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.4036, allocations: 16.03 kB / 1.032 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.418e-05/0.4037, allocations: 38.47 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.4037, allocations: 3.953 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.4039, allocations: 171 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.4039, allocations: 0 / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.4039, allocations: 4 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4041, allocations: 37.69 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4041, allocations: 4 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4041, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4041, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.4041, allocations: 23.84 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.4045, allocations: 252.9 kB / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.4046, allocations: 34.56 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.4047, allocations: 0 / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.4048, allocations: 63.38 kB / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.4048, allocations: 0 / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0002468/0.4051, allocations: 81.58 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.4051, allocations: 55.36 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.4052, allocations: 96.98 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4053, allocations: 29.7 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.4053, allocations: 84.14 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.4054, allocations: 11.81 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.4054, allocations: 4 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4055, allocations: 318.8 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.4055, allocations: 4 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.4056, allocations: 39.36 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.4056, allocations: 12 kB / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4056, allocations: 4 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001154/0.4058, allocations: 73.61 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4058, allocations: 8 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.4058, allocations: 0 / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4058, allocations: 0 / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.4059, allocations: 12.44 kB / 1.033 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4059, allocations: 4 kB / 1.033 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.4059, allocations: 3.953 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.406, allocations: 4 kB / 1.033 GB, free: 7.094 MB / 0.6823 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 9.627e-05/0.4061, allocations: 121.8 kB / 1.033 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.4061, allocations: 11.91 kB / 1.033 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.4061, allocations: 3.969 kB / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4061, allocations: 0 / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4061, allocations: 4 kB / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4061, allocations: 0 / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.4065, allocations: 306.5 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4065, allocations: 0 / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.4065, allocations: 0 / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4065, allocations: 8 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.4065, allocations: 3.938 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4065, allocations: 0 / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4065, allocations: 0 / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.4067, allocations: 165.2 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.4068, allocations: 85.02 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.4068, allocations: 0 / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.4069, allocations: 3.938 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.4069, allocations: 11.92 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.4069, allocations: 4 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.407, allocations: 87.23 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.407, allocations: 0 / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003133/0.4073, allocations: 43.98 kB / 1.034 GB, free: 6.152 MB / 0.6823 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.0007798/0.4081, allocations: 0.7926 MB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.4082, allocations: 35.92 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4082, allocations: 4 kB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.4083, allocations: 11.98 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.4084, allocations: 7.938 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.4092, allocations: 0.8249 MB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.4095, allocations: 0.6809 MB / 1.036 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.4095, allocations: 7.984 kB / 1.036 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.4095, allocations: 11.44 kB / 1.036 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/0.4095, allocations: 0 / 1.036 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.4227, allocations: 2.005 MB / 1.038 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.4229, allocations: 235 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.971, allocations: 6.812 kB / 1.039 GB, free: 1.582 MB / 0.6823 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)