Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.602/2.602, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 184.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 96.58 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.056e-05, allocations: 0 / 0.8508 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.8616, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.276/1.138, allocations: 137.5 MB / 1.098 GB, free: 2.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004193/1.138, allocations: 68.67 kB / 1.098 GB, free: 2.914 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01465/1.153, allocations: 2.314 MB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.739e-06/1.153, allocations: 4.938 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.153, allocations: 0 / 1.1 GB, free: 0.6406 MB / 0.698 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.0005247/1.153, allocations: 388.8 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.154, allocations: 8.625 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/1.154, allocations: 8.75 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/1.154, allocations: 166.7 kB / 1.101 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/1.154, allocations: 4 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/1.154, allocations: 0.625 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.398e-05/1.154, allocations: 8.516 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/1.154, allocations: 46.94 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/1.154, allocations: 0 / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.154, allocations: 0 / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.154, allocations: 0.6875 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/1.154, allocations: 136.6 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/1.154, allocations: 26.58 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/1.154, allocations: 17 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/1.154, allocations: 5.422 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/1.155, allocations: 56 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/1.155, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002127/1.155, allocations: 59.56 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/1.155, allocations: 51.41 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/1.155, allocations: 96.98 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/1.155, allocations: 30.48 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/1.155, allocations: 80.73 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/1.155, allocations: 11.84 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/1.155, allocations: 0.6875 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.155, allocations: 323.5 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/1.155, allocations: 8 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.134e-05/1.155, allocations: 25.78 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/1.155, allocations: 23.42 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.155, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001376/1.156, allocations: 62.48 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.156, allocations: 4.656 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.156, allocations: 4.688 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.156, allocations: 0 / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/1.156, allocations: 8.875 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.156, allocations: 2.5 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/1.156, allocations: 7.406 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/1.156, allocations: 4 kB / 1.102 GB, free: 14.81 MB / 0.7136 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 8.822e-05/1.156, allocations: 108.7 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001421/1.156, allocations: 63.77 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/1.156, allocations: 4 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/1.156, allocations: 8.344 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.156, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.156, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.156, allocations: 1.094 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/1.156, allocations: 138.1 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/1.156, allocations: 5.5 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/1.156, allocations: 5.359 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.156, allocations: 0 / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.156, allocations: 5.828 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/1.156, allocations: 4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.156, allocations: 4.094 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/1.157, allocations: 85 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/1.157, allocations: 77.11 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/1.157, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/1.157, allocations: 4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/1.157, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/1.157, allocations: 6.312 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.257e-05/1.157, allocations: 87.27 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.157, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004123/1.157, allocations: 47.88 kB / 1.102 GB, free: 14.09 MB / 0.7136 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.0009363/1.158, allocations: 0.7103 MB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001244/1.158, allocations: 20 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.158, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/1.159, allocations: 17.53 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/1.159, allocations: 4 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/1.159, allocations: 119.9 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/1.16, allocations: 0.6886 MB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.159e-05/1.16, allocations: 4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/1.16, allocations: 11.44 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/1.16, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/1.199, allocations: 1.687 MB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003423/1.199, allocations: 183.5 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.595, allocations: 0 / 1.106 GB, free: 10.61 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)