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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001147/0.001146, allocations: 186.2 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.000869/0.0008691, allocations: 92.36 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.162e-05/4.165e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3212, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8175/1.139, allocations: 139.2 MB / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/1.139, allocations: 74.86 kB / 1.116 GB, free: 44.35 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.005527/1.145, allocations: 2.323 MB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/1.145, allocations: 0 / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.252e-06/1.145, allocations: 0.5938 kB / 1.118 GB, free: 42.98 MB / 0.7448 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.0002761/1.145, allocations: 383.7 kB / 1.119 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.145, allocations: 12.53 kB / 1.119 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/1.145, allocations: 31.62 kB / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/1.145, allocations: 4.062 kB / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.413e-05/1.145, allocations: 175 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/1.145, allocations: 7.25 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/1.145, allocations: 4 kB / 1.119 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.406e-05/1.145, allocations: 43.23 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/1.145, allocations: 0 / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/1.145, allocations: 0.8906 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.145, allocations: 0 / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/1.145, allocations: 8.188 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/1.146, allocations: 248.8 kB / 1.119 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.176e-05/1.146, allocations: 38.12 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/1.146, allocations: 21.2 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/1.146, allocations: 4 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.67e-05/1.146, allocations: 54.8 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/1.146, allocations: 0 / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001512/1.146, allocations: 71.89 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/1.146, allocations: 51.41 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.893e-05/1.146, allocations: 109 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/1.146, allocations: 29.7 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/1.146, allocations: 88.02 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/1.146, allocations: 7.812 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/1.146, allocations: 0 / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.291e-05/1.146, allocations: 321.9 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/1.146, allocations: 11.06 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/1.146, allocations: 32.36 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/1.146, allocations: 16.36 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.146, allocations: 0 / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.155e-05/1.146, allocations: 77.44 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.146, allocations: 4 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/1.146, allocations: 0 / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.146, allocations: 5.031 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.292e-05/1.146, allocations: 8.938 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.146, allocations: 3.516 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/1.147, allocations: 4.625 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/1.147, allocations: 7.953 kB / 1.12 GB, free: 41.05 MB / 0.7448 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 () * 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 4.585e-05/1.147, allocations: 113.5 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/1.147, allocations: 3.906 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/1.147, allocations: 7.594 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.147, allocations: 4 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.147, allocations: 1.75 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/1.147, allocations: 0 / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/1.147, allocations: 307 kB / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.147, allocations: 0 / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/1.147, allocations: 8.812 kB / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.147, allocations: 0.9375 kB / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/1.147, allocations: 0 / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.147, allocations: 0 / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.147, allocations: 4 kB / 1.12 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.574e-05/1.147, allocations: 161.6 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/1.147, allocations: 89.52 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/1.147, allocations: 2.812 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/1.147, allocations: 7.328 kB / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/1.147, allocations: 0 / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/1.147, allocations: 1.438 kB / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.222e-05/1.147, allocations: 86.72 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.147, allocations: 0 / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002539/1.147, allocations: 54.67 kB / 1.121 GB, free: 40.18 MB / 0.7448 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 () * 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.0005438/1.148, allocations: 0.7848 MB / 1.122 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.138e-05/1.148, allocations: 30.06 kB / 1.122 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.148, allocations: 0 / 1.122 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/1.148, allocations: 22.73 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/1.148, allocations: 5.094 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/1.149, allocations: 133.4 kB / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/1.149, allocations: 0.6842 MB / 1.122 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.187e-05/1.149, allocations: 7.906 kB / 1.122 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/1.149, allocations: 14.08 kB / 1.122 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.149, allocations: 0 / 1.122 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/1.162, allocations: 2.029 MB / 1.124 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/1.162, allocations: 201.2 kB / 1.125 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.731, allocations: 0 / 1.125 GB, free: 37.2 MB / 0.7448 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)