Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 179.4 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009172/0.0009169, allocations: 99.61 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 10.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2184, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001231/0.2197, allocations: 0.9377 MB / 0.9011 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006951/0.2204, allocations: 422.5 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.2205, allocations: 0 / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.2205, allocations: 0 / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.022e-05/0.2206, allocations: 0 / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.2211, allocations: 79.72 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.2211, allocations: 11.97 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.2212, allocations: 4 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.2212, allocations: 8 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.753e-05/0.2212, allocations: 7.922 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.2213, allocations: 8 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.2214, allocations: 75.86 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.2215, allocations: 7.938 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.2215, allocations: 29.69 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2216, allocations: 67.84 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2217, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2217, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2217, allocations: 4 kB / 0.9017 GB, free: 62.21 MB / 0.6042 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.0003753/0.2221, allocations: 365.1 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2221, allocations: 12.03 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.2222, allocations: 34.55 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.2222, allocations: 7.906 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.2223, allocations: 167.2 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.2223, allocations: 7.938 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.2223, allocations: 4 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.2225, allocations: 41.62 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2225, allocations: 7.969 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2225, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2225, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.213e-05/0.2225, allocations: 12 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.2228, allocations: 248.9 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.2229, allocations: 38.5 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-06/0.223, allocations: 0 / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.2231, allocations: 59.5 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.2231, allocations: 0 / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002025/0.2233, allocations: 73.67 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.2234, allocations: 55.34 kB / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.724e-05/0.2234, allocations: 109.8 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.2234, allocations: 25.7 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.2235, allocations: 84.14 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.2235, allocations: 7.906 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.2235, allocations: 4 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.2236, allocations: 322.8 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.2236, allocations: 4 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.2236, allocations: 39.41 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.2236, allocations: 12 kB / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2237, allocations: 0 / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.309e-05/0.2238, allocations: 77.47 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2238, allocations: 11.98 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2238, allocations: 0 / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2238, allocations: 0 / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.2239, allocations: 12 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2239, allocations: 4 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.2239, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.2239, allocations: 4 kB / 0.9035 GB, free: 60.15 MB / 0.6042 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.085e-05/0.224, allocations: 129.7 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.224, allocations: 0 / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.2241, allocations: 7.547 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2241, allocations: 0 / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2241, allocations: 7.875 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2241, allocations: 4 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2243, allocations: 294.6 kB / 0.9039 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2243, allocations: 288 / 0.9039 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.2243, allocations: 4 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2243, allocations: 4 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2243, allocations: 0 / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2243, allocations: 4 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2244, allocations: 0 / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.2245, allocations: 175.6 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.2245, allocations: 77.11 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.2245, allocations: 64 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.2246, allocations: 8 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.2246, allocations: 8 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.2246, allocations: 3.984 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.155e-05/0.2246, allocations: 79.28 kB / 0.9043 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2247, allocations: 0 / 0.9043 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002883/0.2249, allocations: 32 kB / 0.9043 GB, free: 59.23 MB / 0.6042 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.0005407/0.2255, allocations: 0.7692 MB / 0.9051 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.2256, allocations: 31.98 kB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2256, allocations: 0 / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.2257, allocations: 23.92 kB / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2258, allocations: 0 / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.2263, allocations: 0.808 MB / 0.9059 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.2265, allocations: 0.6848 MB / 0.9066 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.2265, allocations: 4 kB / 0.9066 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.2265, allocations: 11.42 kB / 0.9066 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2265, allocations: 0 / 0.9066 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.2422, allocations: 1.773 MB / 0.9083 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.2425, allocations: 229.7 kB / 0.9085 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.758, allocations: 0 / 0.9085 GB, free: 54.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)