Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.731/1.731, allocations: 289.7 MB / 302.3 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.001294/0.001294, allocations: 179.3 kB / 371.6 MB, free: 3.371 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.686/1.686, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009146/0.0009146, allocations: 91.83 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.54e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7244/0.9781, allocations: 139.2 MB / 1.116 GB, free: 44.52 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.9783, allocations: 76.86 kB / 1.116 GB, free: 44.48 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.005652/0.984, allocations: 2.233 MB / 1.118 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.352e-06/0.984, allocations: 1.156 kB / 1.118 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.984, allocations: 0 / 1.118 GB, free: 43.17 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.0002903/0.9843, allocations: 385.9 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.9844, allocations: 8.812 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.162e-05/0.9844, allocations: 44.05 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.9845, allocations: 2.219 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.9846, allocations: 168.7 kB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.9846, allocations: 1.359 kB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.9846, allocations: 5.375 kB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.9847, allocations: 41.17 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.9847, allocations: 0.7969 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.9847, allocations: 3.25 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.9848, allocations: 4 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.9848, allocations: 7.938 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.9851, allocations: 250.5 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.9852, allocations: 34.23 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.9852, allocations: 17.19 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.9852, allocations: 0 / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.9853, allocations: 59.41 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.9853, allocations: 0 / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001611/0.9855, allocations: 62.56 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.9856, allocations: 56.52 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.9856, allocations: 100.8 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.9856, allocations: 29.2 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.9857, allocations: 80.14 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.9857, allocations: 16.3 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.9857, allocations: 3.938 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.9858, allocations: 322.7 kB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.9858, allocations: 4 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.9858, allocations: 39.3 kB / 1.12 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.9859, allocations: 16.58 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9859, allocations: 4 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.298e-05/0.986, allocations: 72.27 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.986, allocations: 4 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.986, allocations: 4 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.986, allocations: 0 / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.9861, allocations: 16.91 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.9861, allocations: 3.938 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.9861, allocations: 4 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.9861, allocations: 0.6562 kB / 1.12 GB, free: 41.25 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.668e-05/0.9862, allocations: 112.3 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.9862, allocations: 4.062 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.9862, allocations: 8.875 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.9862, allocations: 0 / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9863, allocations: 0 / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9863, allocations: 1.781 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.9865, allocations: 304.8 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9865, allocations: 0 / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/0.9865, allocations: 4.75 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9865, allocations: 0 / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.9865, allocations: 0 / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9865, allocations: 4.703 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9865, allocations: 1.062 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.9866, allocations: 166.1 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.9867, allocations: 85.05 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.9867, allocations: 0 / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.794e-05/0.9867, allocations: 0.75 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.9868, allocations: 4.062 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.9868, allocations: 8 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.247e-05/0.9868, allocations: 83.09 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9868, allocations: 3.938 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002709/0.9871, allocations: 51.23 kB / 1.121 GB, free: 40.39 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.0005821/0.9877, allocations: 0.7747 MB / 1.121 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.634e-05/0.9878, allocations: 35.08 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9878, allocations: 0.9375 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.9878, allocations: 19.75 kB / 1.121 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.9879, allocations: 2.766 kB / 1.121 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.9883, allocations: 126.9 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.9884, allocations: 0.6806 MB / 1.122 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.9885, allocations: 7.328 kB / 1.122 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.9885, allocations: 7.438 kB / 1.122 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/0.9885, allocations: 4 kB / 1.122 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/1.001, allocations: 1.952 MB / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.001, allocations: 195.5 kB / 1.124 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.505, allocations: 0 / 1.124 GB, free: 37.48 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)