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.645/1.645, allocations: 288.4 MB / 303.6 MB, free: 8.191 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.0009775/0.0009773, allocations: 170.9 kB / 372.2 MB, free: 10.12 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.259/1.259, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007202/0.0007202, allocations: 87.8 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 15.98 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1887, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001329/0.1901, allocations: 0.9472 MB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.1909, allocations: 428.6 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.191, allocations: 0 / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.191, allocations: 0 / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.1911, allocations: 7.938 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.1917, allocations: 91.72 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.1918, allocations: 19.92 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.1919, allocations: 0 / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.1919, allocations: 8 kB / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.1919, allocations: 15.91 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.192, allocations: 4 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.1922, allocations: 91.89 kB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.1922, allocations: 7.938 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.1923, allocations: 33.64 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1925, allocations: 71.89 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1925, allocations: 0 / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1925, allocations: 4 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1925, allocations: 0 / 0.9819 GB, free: 25.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004106/0.1929, allocations: 377.4 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.193, allocations: 12.03 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.644e-05/0.193, allocations: 38.67 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.1931, allocations: 8.844 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.048e-05/0.1932, allocations: 160.4 kB / 0.9824 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1932, allocations: 384 / 0.9824 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.1932, allocations: 4.375 kB / 0.9824 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1933, allocations: 50.23 kB / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1933, allocations: 3.938 kB / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1934, allocations: 0 / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1934, allocations: 0 / 0.9825 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.1934, allocations: 7.938 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.1937, allocations: 248.9 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.51e-05/0.1938, allocations: 42.5 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.1939, allocations: 20.94 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.1939, allocations: 0 / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.194, allocations: 63.34 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.194, allocations: 0 / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002158/0.1942, allocations: 77.58 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1943, allocations: 55.41 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.1944, allocations: 105.8 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1944, allocations: 25.7 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.1944, allocations: 84.14 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.1944, allocations: 7.906 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.1944, allocations: 4 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.1945, allocations: 314.8 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.1945, allocations: 12 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.1946, allocations: 39.36 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.1946, allocations: 55.36 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1947, allocations: 7.875 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.518e-05/0.1948, allocations: 77.52 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1948, allocations: 9.781 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1948, allocations: 0 / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1948, allocations: 4 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.1949, allocations: 4 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1949, allocations: 4 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.1949, allocations: 3.984 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1949, allocations: 4 kB / 0.9837 GB, free: 23.38 MB / 0.6198 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.661e-05/0.195, allocations: 129.6 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.195, allocations: 3.906 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.1951, allocations: 11.97 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1951, allocations: 4 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1951, allocations: 0 / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1951, allocations: 0 / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1953, allocations: 302.5 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1953, allocations: 0 / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.1953, allocations: 7.938 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1953, allocations: 0 / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1953, allocations: 3.984 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1954, allocations: 0.5625 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1954, allocations: 4 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.1955, allocations: 163.5 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.1955, allocations: 88.95 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1956, allocations: 3.984 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.1956, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.1956, allocations: 4 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1957, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.1957, allocations: 91.27 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1957, allocations: 0 / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000296/0.196, allocations: 35.94 kB / 0.9845 GB, free: 22.44 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 (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.0005804/0.1966, allocations: 0.7759 MB / 0.9853 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1967, allocations: 35.92 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1967, allocations: 0 / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.1968, allocations: 15.98 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.197, allocations: 1.453 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.1976, allocations: 433 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.1977, allocations: 0.6828 MB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.1977, allocations: 3.984 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.1978, allocations: 19.44 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.1978, allocations: 0 / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.2103, allocations: 1.838 MB / 0.9882 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.2105, allocations: 248.3 kB / 0.9885 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/1.964, allocations: 0 / 0.9885 GB, free: 18.46 MB / 0.6198 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)