Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.589/1.589, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001281/0.001281, allocations: 179.8 kB / 326.5 MB, free: 2.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 2.06/2.06, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001253/0.001253, allocations: 88.47 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002941, allocations: 8.844 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2214, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.3834, allocations: 132 MB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3836, allocations: 71.95 kB / 1.029 GB, free: 11.58 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.006413/0.3901, allocations: 2.334 MB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3901, allocations: 0 / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3901, allocations: 0 / 1.031 GB, free: 9.242 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003694/0.3905, allocations: 392.9 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3905, allocations: 8.031 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.3906, allocations: 38.48 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.3906, allocations: 11.86 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3907, allocations: 163 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.3908, allocations: 12 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3908, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.391, allocations: 46.34 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.391, allocations: 3.984 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.391, allocations: 4 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.391, allocations: 3.938 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.391, allocations: 4 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.3913, allocations: 256.9 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/0.3914, allocations: 34.5 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.3914, allocations: 4 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.3916, allocations: 63.52 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3916, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0002083/0.3918, allocations: 81.53 kB / 1.032 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3918, allocations: 71.33 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.3919, allocations: 93 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3919, allocations: 25.7 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.392, allocations: 84.14 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.392, allocations: 15.8 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/0.392, allocations: 0 / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3921, allocations: 318.8 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.3921, allocations: 7.984 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.675e-05/0.3922, allocations: 40.3 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.3922, allocations: 15.94 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3922, allocations: 0 / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001088/0.3924, allocations: 77.61 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3924, allocations: 14.75 kB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3924, allocations: 0 / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3924, allocations: 4 kB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.3925, allocations: 15.92 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3925, allocations: 0 / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.3925, allocations: 11.86 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3925, allocations: 4 kB / 1.033 GB, free: 7.113 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.855e-05/0.3926, allocations: 117.9 kB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.3926, allocations: 4 kB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.3927, allocations: 11.97 kB / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3927, allocations: 3.984 kB / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3927, allocations: 0 / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3927, allocations: 4 kB / 1.033 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.393, allocations: 308.3 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.393, allocations: 0 / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.393, allocations: 7.938 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.393, allocations: 4 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3931, allocations: 0 / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3931, allocations: 0 / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3931, allocations: 4.562 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.3933, allocations: 179.3 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.3933, allocations: 77.11 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3933, allocations: 4 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.243e-05/0.3934, allocations: 0 / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.3934, allocations: 8.062 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3934, allocations: 4 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.3935, allocations: 91.23 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3935, allocations: 0 / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003121/0.3938, allocations: 43.98 kB / 1.034 GB, free: 6.16 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 (6): * Single equations (assignments): 4 * 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.0008126/0.3946, allocations: 0.786 MB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3948, allocations: 35.98 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3948, allocations: 3.938 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.3948, allocations: 19.98 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.395, allocations: 2.406 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.3959, allocations: 0.9885 MB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3962, allocations: 0.6848 MB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.3962, allocations: 7.938 kB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.3962, allocations: 7.438 kB / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of SimCode: time 2.645e-06/0.3962, allocations: 0 / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.4083, allocations: 2.013 MB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.4085, allocations: 236.6 kB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/1.873, allocations: 3.938 kB / 1.039 GB, free: 1.379 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)