Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.2 MB / 303.2 MB, free: 8.043 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.001552/0.001551, allocations: 183.6 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 2.082/2.082, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001038/0.001038, allocations: 102.7 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 10.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2343, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001161/0.2355, allocations: 0.9417 MB / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000709/0.2362, allocations: 422.5 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.2363, allocations: 0 / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.2363, allocations: 0 / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.2363, allocations: 0 / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.2367, allocations: 87.66 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.946e-05/0.2368, allocations: 15.97 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.2369, allocations: 0 / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.213e-05/0.2369, allocations: 15.94 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.754e-05/0.2369, allocations: 3.984 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2369, allocations: 4 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.2371, allocations: 83.84 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.2371, allocations: 4 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2372, allocations: 29.7 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.2373, allocations: 71.83 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2373, allocations: 0 / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2373, allocations: 4 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2373, allocations: 4 kB / 0.9811 GB, free: 25.92 MB / 0.6198 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.0003964/0.2377, allocations: 381.2 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2378, allocations: 12.02 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.2378, allocations: 34.56 kB / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.2378, allocations: 0 / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.277e-05/0.2379, allocations: 174.9 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.238, allocations: 0 / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.238, allocations: 7.938 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2381, allocations: 49.67 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2381, allocations: 0 / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.2381, allocations: 4 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2381, allocations: 0 / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.248e-05/0.2382, allocations: 7.938 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.2384, allocations: 260.9 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.2385, allocations: 30.58 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.2385, allocations: 0 / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.2387, allocations: 59.52 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.2387, allocations: 3.938 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0001794/0.2388, allocations: 77.69 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.2389, allocations: 55.39 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.303e-05/0.2389, allocations: 105.8 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.239, allocations: 33.7 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.239, allocations: 84.12 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.239, allocations: 19.75 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.239, allocations: 0 / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.2391, allocations: 318.8 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.2391, allocations: 11.98 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.2391, allocations: 44.23 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.2392, allocations: 19.97 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2392, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.941e-05/0.2393, allocations: 77.56 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2393, allocations: 7.984 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2393, allocations: 4 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2393, allocations: 0 / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.2394, allocations: 12.09 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2394, allocations: 7.984 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.2394, allocations: 0 / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2395, allocations: 4 kB / 0.9829 GB, free: 23.8 MB / 0.6198 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 6.14e-05/0.2395, allocations: 125.7 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.2395, allocations: 8.078 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.2396, allocations: 11.97 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2396, allocations: 3.938 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2396, allocations: 0 / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2396, allocations: 4 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.2398, allocations: 302.6 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2398, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.2398, allocations: 4 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2398, allocations: 0 / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2398, allocations: 4 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2399, allocations: 7.938 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2399, allocations: 0 / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.24, allocations: 172 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.24, allocations: 81.11 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.24, allocations: 4.062 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.2401, allocations: 3.984 kB / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.2401, allocations: 4 kB / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2401, allocations: 0 / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.2401, allocations: 83.28 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.72e-07/0.2402, allocations: 0 / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002728/0.2404, allocations: 43.92 kB / 0.9837 GB, free: 22.86 MB / 0.6198 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.000505/0.2409, allocations: 0.7735 MB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.2411, allocations: 47.98 kB / 0.9845 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2411, allocations: 0 / 0.9845 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.2411, allocations: 15.98 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.2412, allocations: 5.031 kB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.2418, allocations: 0.9713 MB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2419, allocations: 0.6848 MB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.2419, allocations: 11.94 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.242, allocations: 15.38 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.242, allocations: 0 / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/0.2539, allocations: 1.836 MB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.2542, allocations: 227.5 kB / 0.9882 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.736, allocations: 0 / 0.9882 GB, free: 18.3 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)