Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 3.121/3.121, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001321/0.00132, allocations: 185.5 kB / 371 MB, free: 10.84 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.057/2.057, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009224/0.000922, allocations: 89.03 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005137, allocations: 11.72 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.23, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001324/0.2314, allocations: 0.9392 MB / 0.9794 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.2323, allocations: 412.7 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.2324, allocations: 0 / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.2324, allocations: 3.938 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.2324, allocations: 7.922 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.2329, allocations: 83.8 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.873e-05/0.233, allocations: 19.98 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.2331, allocations: 7.984 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.2331, allocations: 11.92 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.183e-05/0.2331, allocations: 11.94 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2332, allocations: 0 / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.2334, allocations: 95.89 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.2334, allocations: 3.984 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.2335, allocations: 37.64 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.2336, allocations: 67.83 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2337, allocations: 4 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2337, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2337, allocations: 4 kB / 0.9801 GB, free: 26.55 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.0004153/0.2341, allocations: 381.2 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2342, allocations: 16.02 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.2342, allocations: 30.56 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.2343, allocations: 3.984 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.158e-05/0.2344, allocations: 178.9 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2344, allocations: 3.938 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2344, allocations: 4 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.2345, allocations: 53.62 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2346, allocations: 0 / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2346, allocations: 0 / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2346, allocations: 0 / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.2347, allocations: 15.98 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.235, allocations: 248.8 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.2351, allocations: 30.64 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.2351, allocations: 24.91 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.2352, allocations: 0 / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.2353, allocations: 63.39 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.2354, allocations: 0 / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002663/0.2356, allocations: 73.69 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2357, allocations: 55.39 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.2357, allocations: 117.7 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2358, allocations: 25.7 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.2358, allocations: 88.14 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2358, allocations: 11.8 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.2358, allocations: 4 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.2359, allocations: 314.8 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.236, allocations: 11.98 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.236, allocations: 40.3 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.2361, allocations: 15.98 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2361, allocations: 0 / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001395/0.2362, allocations: 73.56 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2363, allocations: 8 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2363, allocations: 288 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2363, allocations: 11.98 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.2364, allocations: 15.94 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2364, allocations: 3.938 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.2365, allocations: 4 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2365, allocations: 7.953 kB / 0.9819 GB, free: 24.4 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.946e-05/0.2366, allocations: 115.1 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.2366, allocations: 7.906 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.2366, allocations: 11.89 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2367, allocations: 4 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2367, allocations: 4 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2367, allocations: 4.078 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.237, allocations: 315.1 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.237, allocations: 4 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.237, allocations: 8 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.237, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2371, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2371, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2371, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.2373, allocations: 175.4 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.2373, allocations: 77.11 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.2373, allocations: 8 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.2374, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.2374, allocations: 7.922 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2375, allocations: 4 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.2375, allocations: 79.28 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2375, allocations: 4 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003714/0.2379, allocations: 39.94 kB / 0.9828 GB, free: 23.45 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.0007506/0.2387, allocations: 0.7691 MB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.2388, allocations: 39.92 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2388, allocations: 0 / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.2389, allocations: 23.92 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.2392, allocations: 8 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.24, allocations: 445 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.2401, allocations: 0.6848 MB / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.2402, allocations: 7.891 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.2402, allocations: 19.44 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.2402, allocations: 0 / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.2606, allocations: 1.853 MB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/0.2609, allocations: 230.2 kB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/2.872, allocations: 0 / 0.9867 GB, free: 19.41 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)