Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006435/0.006435, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005096, allocations: 11 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001265/0.2309, allocations: 0.9547 MB / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.2317, allocations: 456.5 kB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.2318, allocations: 0 / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.2318, allocations: 0 / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.2318, allocations: 3.938 kB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.2322, allocations: 91.78 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.689e-05/0.2323, allocations: 15.98 kB / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.2323, allocations: 4 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.88e-05/0.2324, allocations: 19.97 kB / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.465e-05/0.2324, allocations: 3.938 kB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.2324, allocations: 4 kB / 0.7895 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.2326, allocations: 103.8 kB / 0.7896 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.2327, allocations: 7.938 kB / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.2327, allocations: 41.62 kB / 0.7896 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2329, allocations: 99.8 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2329, allocations: 0 / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2329, allocations: 0 / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.2329, allocations: 0 / 0.7897 GB, free: 9.688 MB / 0.6075 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.00044/0.2333, allocations: 381.4 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2334, allocations: 12.03 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.2335, allocations: 30.75 kB / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2335, allocations: 12.81 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.503e-05/0.2336, allocations: 164.4 kB / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2336, allocations: 384 / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2336, allocations: 8.312 kB / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.897e-05/0.2337, allocations: 42.25 kB / 0.7904 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2337, allocations: 7.938 kB / 0.7904 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.2338, allocations: 3.984 kB / 0.7904 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2338, allocations: 0 / 0.7904 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.223e-05/0.2338, allocations: 7.938 kB / 0.7904 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.2341, allocations: 248.9 kB / 0.7906 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.599e-05/0.2342, allocations: 38.5 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.2342, allocations: 20.86 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.2343, allocations: 0 / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.2344, allocations: 63.42 kB / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2344, allocations: 0 / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000201/0.2346, allocations: 77.58 kB / 0.7908 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.2347, allocations: 51.41 kB / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.2347, allocations: 110.1 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2347, allocations: 29.64 kB / 0.791 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.2348, allocations: 92.12 kB / 0.7911 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.2348, allocations: 3.906 kB / 0.7911 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.2348, allocations: 17.72 kB / 0.7911 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.235, allocations: 318.8 kB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.235, allocations: 4 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.235, allocations: 43.36 kB / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.2351, allocations: 43.44 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2351, allocations: 3.938 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001021/0.2352, allocations: 81.55 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2352, allocations: 4 kB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2353, allocations: 256 / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2353, allocations: 12.05 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.2353, allocations: 12 kB / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2353, allocations: 3.984 kB / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.2354, allocations: 4 kB / 0.7916 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.2354, allocations: 4 kB / 0.7916 GB, free: 7.504 MB / 0.6075 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.2355, allocations: 121.7 kB / 0.7917 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.2355, allocations: 7.906 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.2355, allocations: 3.969 kB / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2355, allocations: 4 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2355, allocations: 4 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2355, allocations: 0 / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.2358, allocations: 302.5 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2358, allocations: 0 / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.2358, allocations: 4 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2358, allocations: 0 / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2358, allocations: 7.984 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2358, allocations: 3.938 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2358, allocations: 0 / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.236, allocations: 163.5 kB / 0.7922 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.236, allocations: 84.95 kB / 0.7923 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2361, allocations: 3.984 kB / 0.7923 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.2361, allocations: 4 kB / 0.7923 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.2361, allocations: 4 kB / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.2361, allocations: 0 / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.2362, allocations: 91.33 kB / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2362, allocations: 0 / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002658/0.2365, allocations: 39.94 kB / 0.7924 GB, free: 6.566 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006902/0.2372, allocations: 0.7672 MB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.2373, allocations: 35.92 kB / 0.7932 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2373, allocations: 0 / 0.7932 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.2373, allocations: 15.98 kB / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.2375, allocations: 7.938 kB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.2386, allocations: 1.305 MB / 0.7945 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.239, allocations: 0.6848 MB / 0.7952 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.239, allocations: 0 / 0.7952 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.239, allocations: 11.44 kB / 0.7952 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.239, allocations: 0 / 0.7952 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.2502, allocations: 1.818 MB / 0.797 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.2504, allocations: 266.2 kB / 0.7972 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.839, allocations: 0 / 0.7972 GB, free: 1.641 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)