Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.734/2.734, allocations: 287.5 MB / 302.4 MB, free: 8.207 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.002265/0.002264, allocations: 177.2 kB / 371 MB, free: 10.86 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.213/2.213, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001404/0.001404, allocations: 80.69 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007375/0.0007375, allocations: 15.38 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2133, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001291/0.2146, allocations: 0.951 MB / 0.9794 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.2156, allocations: 420.7 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.2157, allocations: 4 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.2157, allocations: 7.875 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.2157, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.2162, allocations: 79.8 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.2163, allocations: 23.91 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.2164, allocations: 0 / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.2164, allocations: 15.98 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.2164, allocations: 11.92 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2165, allocations: 4 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.2167, allocations: 91.84 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.2167, allocations: 11.94 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.2168, allocations: 25.7 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.2169, allocations: 71.88 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.217, allocations: 4 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.217, allocations: 0 / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.217, allocations: 0 / 0.9801 GB, free: 26.54 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.0004157/0.2174, allocations: 377.2 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2175, allocations: 16.02 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.526e-05/0.2175, allocations: 38.55 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.2176, allocations: 3.906 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.2177, allocations: 171 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.2177, allocations: 3.938 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2177, allocations: 4 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.2179, allocations: 49.66 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2179, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2179, allocations: 4 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2179, allocations: 4 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.218, allocations: 4 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.2183, allocations: 256.8 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.2184, allocations: 34.56 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.2185, allocations: 20.94 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2185, allocations: 4 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.2187, allocations: 51.41 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.993e-06/0.2187, allocations: 0 / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002478/0.2189, allocations: 77.61 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.219, allocations: 55.41 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.219, allocations: 113.7 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2191, allocations: 25.7 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.2191, allocations: 88.14 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2191, allocations: 7.906 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.2191, allocations: 0 / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.2192, allocations: 318.8 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.2193, allocations: 4 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.2193, allocations: 39.41 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.2194, allocations: 23.94 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2194, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001295/0.2195, allocations: 77.52 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2195, allocations: 4 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2196, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2196, allocations: 4 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.2197, allocations: 8 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2197, allocations: 4 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.2197, allocations: 4 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2198, allocations: 11.95 kB / 0.9819 GB, free: 24.43 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.855e-05/0.2198, allocations: 119.1 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.2199, allocations: 7.891 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.2199, allocations: 3.969 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2199, allocations: 7.938 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2199, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2199, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.2202, allocations: 303.2 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2202, allocations: 4 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.2203, allocations: 11.92 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2203, allocations: 0 / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2203, allocations: 4 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2203, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2203, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2205, allocations: 163.5 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.2205, allocations: 88.95 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2205, allocations: 4 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.2206, allocations: 0 / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.2207, allocations: 7.984 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2207, allocations: 0 / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.2207, allocations: 83.28 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2207, allocations: 0 / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003982/0.2211, allocations: 35.94 kB / 0.9827 GB, free: 23.5 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.000692/0.2218, allocations: 0.7656 MB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.222, allocations: 36.23 kB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.222, allocations: 0 / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.385e-05/0.2221, allocations: 16 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2223, allocations: 13.66 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.2231, allocations: 434.4 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2233, allocations: 0.6809 MB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.2233, allocations: 4 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.2233, allocations: 15.42 kB / 0.9846 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.2233, allocations: 0 / 0.9846 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2414, allocations: 1.862 MB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.2416, allocations: 235.4 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/2.784, allocations: 0 / 0.9867 GB, free: 19.51 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)