Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001237/0.001237, allocations: 181.1 kB / 371.8 MB, free: 10.28 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.927/1.927, allocations: 205.4 MB / 0.6305 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008171/0.0008173, allocations: 105.7 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004186, allocations: 10.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2347, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8314/1.066, allocations: 138.4 MB / 1.115 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/1.066, allocations: 70.98 kB / 1.115 GB, free: 16.18 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.006136/1.072, allocations: 2.336 MB / 1.117 GB, free: 31.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/1.072, allocations: 0 / 1.117 GB, free: 31.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.073, allocations: 4 kB / 1.117 GB, free: 31.77 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.0003593/1.073, allocations: 402.6 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.073, allocations: 11.67 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/1.073, allocations: 30.56 kB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/1.073, allocations: 3.844 kB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.321e-05/1.073, allocations: 169.7 kB / 1.118 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/1.073, allocations: 4.75 kB / 1.118 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/1.073, allocations: 3.812 kB / 1.118 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.875e-05/1.073, allocations: 43.28 kB / 1.118 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/1.073, allocations: 0 / 1.118 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/1.073, allocations: 0 / 1.118 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-06/1.073, allocations: 3.938 kB / 1.118 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/1.073, allocations: 17.92 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/1.074, allocations: 251.2 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/1.074, allocations: 38.28 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/1.074, allocations: 0 / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/1.074, allocations: 66.2 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/1.074, allocations: 0 / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001867/1.074, allocations: 72 kB / 1.118 GB, free: 30.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.074, allocations: 51.41 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/1.074, allocations: 103 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.074, allocations: 25.7 kB / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/1.074, allocations: 91.2 kB / 1.118 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/1.074, allocations: 11.66 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/1.074, allocations: 3.25 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.074, allocations: 317 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/1.074, allocations: 13.84 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/1.074, allocations: 37.09 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/1.074, allocations: 14.91 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/1.074, allocations: 0 / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.73e-05/1.074, allocations: 68.36 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.075, allocations: 7.719 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/1.075, allocations: 0 / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/1.075, allocations: 2.484 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/1.075, allocations: 11.56 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.075, allocations: 7.906 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/1.075, allocations: 3.906 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.075, allocations: 6.906 kB / 1.119 GB, free: 30.01 MB / 0.698 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 6.666e-05/1.075, allocations: 119.6 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/1.075, allocations: 0 / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/1.075, allocations: 7.906 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.075, allocations: 3.812 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.075, allocations: 0 / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/1.075, allocations: 0 / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/1.075, allocations: 315.9 kB / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.075, allocations: 0 / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/1.075, allocations: 3.875 kB / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.075, allocations: 0 / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.075, allocations: 2.344 kB / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.075, allocations: 3.844 kB / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.075, allocations: 0 / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/1.075, allocations: 161.5 kB / 1.119 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/1.075, allocations: 87.34 kB / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/1.075, allocations: 7.031 kB / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/1.075, allocations: 0 / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/1.075, allocations: 3.047 kB / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/1.075, allocations: 3.812 kB / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.83e-05/1.075, allocations: 82.38 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.075, allocations: 0 / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000301/1.076, allocations: 49.42 kB / 1.12 GB, free: 29.25 MB / 0.698 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.0006233/1.076, allocations: 0.7947 MB / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.793e-05/1.076, allocations: 37.27 kB / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/1.076, allocations: 128 / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/1.077, allocations: 25.7 kB / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/1.077, allocations: 0 / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/1.077, allocations: 0.8108 MB / 1.121 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/1.077, allocations: 0.6812 MB / 1.122 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.755e-05/1.078, allocations: 6.141 kB / 1.122 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/1.078, allocations: 11 kB / 1.122 GB, free: 27.04 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/1.078, allocations: 0 / 1.122 GB, free: 27.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/1.09, allocations: 2.021 MB / 1.124 GB, free: 26.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/1.09, allocations: 239.2 kB / 1.124 GB, free: 26.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.649, allocations: 0 / 1.124 GB, free: 26.56 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)